Skip to content

Commit 38c0f04

Browse files
committed
Set production flag
1 parent 43f0772 commit 38c0f04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ LABEL org.opencontainers.image.source=https://github.com/badsyntax/strapi-webhoo
4444
COPY --from=builder --chown=node:node /app/node_modules /app/node_modules
4545
COPY --from=builder --chown=node:node /app/build /app/build
4646

47+
ENV NODE_ENV production
48+
4749
USER node
4850

4951
CMD ["npm", "start"]

0 commit comments

Comments
 (0)