Skip to content

Commit 3bdc621

Browse files
committed
node_env = production
1 parent 124b27f commit 3bdc621

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ FROM node:alpine
22

33
WORKDIR /app
44

5+
ENV NODE_ENV=production
6+
57
COPY . .
68

79
RUN npm install
810

9-
CMD ["npm", "--loglevel warn", "start"]
11+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)