From 84d07d43534c98ff28c44b6a35119aea2d00cb7b Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 13 Mar 2021 17:14:57 +0100 Subject: [PATCH] start fixing frontend docker file for production --- frontend/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 486dbdca4..f133926b2 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -81,9 +81,9 @@ CMD /bin/sh -c "yarn run dev" FROM base as production # 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}/nuxt.config.js ./nuxt.config.js +COPY --from=build ${DOCKER_WORKDIR}/dist ./dist +#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 should be one Folder containign all stuff needed to be copied #COPY --from=build ${DOCKER_WORKDIR}/constants ./constants