diff --git a/webapp/Dockerfile b/webapp/Dockerfile index 670f577b9..fa50ef1e5 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -92,7 +92,7 @@ FROM base as production # TODO - do all copying with one COPY command to have one layer # Copy "binary"-files from build image COPY --from=build ${DOCKER_WORKDIR}/.nuxt ./.nuxt -#COPY --from=build ${DOCKER_WORKDIR}/node_modules ./node_modules +COPY --from=build ${DOCKER_WORKDIR}/node_modules ./node_modules COPY --from=build ${DOCKER_WORKDIR}/nuxt.config.js ./nuxt.config.js # Copy static files # TODO - this seems not be needed anymore for the new rebranding diff --git a/webapp/Dockerfile.maintenance b/webapp/Dockerfile.maintenance index ce3b43d88..dcc06ad61 100644 --- a/webapp/Dockerfile.maintenance +++ b/webapp/Dockerfile.maintenance @@ -54,7 +54,7 @@ FROM base as code COPY package.json yarn.lock ./ # yarn install -RUN yarn install --production=true --frozen-lockfile --non-interactive +RUN yarn install --production=false --frozen-lockfile --non-interactive COPY assets assets COPY components/LocaleSwitch/ components/LocaleSwitch