Fix webapp Dockerfile

- As I build the webapp Docker image locally pushed it to Docker Hub and used it on DO Kubernetes wir.social a file in the constants folder where missing. So I find out that the whole folder was not copied.
This commit is contained in:
Wolfgang Huß 2020-12-21 09:36:06 +01:00
parent cd61a32a4c
commit f25f4109d2

View File

@ -26,6 +26,7 @@ RUN NODE_ENV=production yarn run build
FROM base as production
RUN yarn install --production=true --frozen-lockfile --non-interactive --no-cache
COPY --from=build-and-test ./develop-webapp/.nuxt ./.nuxt
COPY --from=build-and-test ./develop-webapp/constants ./constants
COPY --from=build-and-test ./develop-webapp/static ./static
COPY nuxt.config.js .
COPY locales locales