Copy node_modules over to runtime image
All checks were successful
/ Misc Linters (push) Successful in 20s
/ Build App (push) Successful in 52s

This commit is contained in:
Valentin Brandl 2024-08-17 16:37:29 +02:00
parent a6359d9516
commit 1aff6554b5
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -13,5 +13,6 @@ RUN chown -R node:node /app
USER node:node
COPY ./container/entrypoint.sh /entrypoint.sh
COPY package.json .
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/build ./build
ENTRYPOINT ["sh", "/entrypoint.sh"]