Copy node_modules
over to runtime image
This commit is contained in:
parent
a6359d9516
commit
1aff6554b5
@ -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"]
|
||||
|
Reference in New Issue
Block a user