we need the mysql module, therefore the node_modules folder

This commit is contained in:
Ulf Gebhardt 2021-08-23 15:28:31 +02:00
parent e1dae547f0
commit eaa7229b21
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -99,7 +99,7 @@ FROM base as production
# Copy "binary"-files from build image
COPY --from=build ${DOCKER_WORKDIR}/build ./build
# We also copy the node_modules express and serve-static for the run script
# COPY --from=build ${DOCKER_WORKDIR}/node_modules ./node_modules
COPY --from=build ${DOCKER_WORKDIR}/node_modules ./node_modules
# Copy static files
# COPY --from=build ${DOCKER_WORKDIR}/public ./public
# Copy package.json for script definitions (lock file should not be needed)