From 68ea44eb02532543efeb63148fdf4beb46a92118 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 12 Nov 2021 17:46:58 +0100 Subject: [PATCH] Fix build --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c58b9eb..856904c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,10 @@ COPY public ./public COPY src ./src COPY .git ./.git -RUN export REACT_APP_VERSION=$(git describe --always) -RUN export REACT_APP_DATE=$(date +"%Y-%m-%d %H:%M:%S") ARG REACT_APP_TCL_AUTH -RUN yarn build +RUN export REACT_APP_VERSION=$(git describe --always) && \ + export REACT_APP_DATE=$(date +"%Y-%m-%d %H:%M:%S") && \ + yarn build FROM nginx AS prod COPY --from=build /app/build /usr/share/nginx/html