Set NODE_ENV to production in Dockerfile

This commit is contained in:
2025-06-07 22:14:07 +02:00
parent 7fba89fa28
commit 52f572f092

View File

@@ -4,6 +4,8 @@ FROM node:20-alpine@sha256:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa
# Accept a build argument for the working directory # Accept a build argument for the working directory
ARG WORKDIR_PATH ARG WORKDIR_PATH
ENV NODE_ENV=production
# Set the working directory inside the container # Set the working directory inside the container
WORKDIR /app WORKDIR /app