Set NODE_ENV to production in Dockerfile
This commit is contained in:
@@ -4,6 +4,8 @@ FROM node:20-alpine@sha256:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa
|
||||
# Accept a build argument for the working directory
|
||||
ARG WORKDIR_PATH
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# Set the working directory inside the container
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user