old workig directory in the hope it fixes stuff

This commit is contained in:
Ulf Gebhardt 2021-04-17 14:23:45 +02:00
parent 94a6bdb137
commit 87a5daa7a3
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -5,7 +5,7 @@ FROM node:12.19.0-alpine3.10 as base
# ENVs
## DOCKER_WORKDIR would be a classical ARG, but that is not multi layer persistent - shame
ENV DOCKER_WORKDIR="/app"
ENV DOCKER_WORKDIR="/develop-webapp"
## We Cannot do `$(date -u +'%Y-%m-%dT%H:%M:%SZ')` here so we use unix timestamp=0
ARG BBUILD_DATE="1970-01-01T00:00:00.00Z"
ENV BUILD_DATE=$BBUILD_DATE
@ -78,6 +78,6 @@ RUN yarn run generate
##################################################################################
FROM nginx:alpine as production
COPY --from=build ./app/dedist/ /usr/share/nginx/html/
COPY --from=build ./develop-webapp/dedist/ /usr/share/nginx/html/
RUN rm /etc/nginx/conf.d/default.conf
COPY maintenance/nginx/custom.conf /etc/nginx/conf.d/