Skip to content

Commit f7a0b8d

Browse files
committed
set node env to prod
1 parent b4cc8ca commit f7a0b8d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN npm ci --only=production
2525
COPY --from=builder /usr/src/app/build ./build
2626

2727
EXPOSE 2567
28+
ENV NODE_ENV=production
2829

2930
# CMD [ "npm", "start" ]
3031
CMD ["node", "build/index.js"]

0 commit comments

Comments
 (0)