Skip to content

Commit 73e93a3

Browse files
committed
fix: set production in docker image by default
1 parent 0d72880 commit 73e93a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ RUN --mount=type=cache,id=yarn,target=/root/.yarn \
3939
FROM gcr.io/distroless/nodejs24-debian12
4040
ARG PACKAGE_VERSION
4141
ENV PACKAGE_VERSION=${PACKAGE_VERSION:-0.0.0}
42+
ENV NODE_ENV=production
4243
LABEL org.opencontainers.image.version="${PACKAGE_VERSION}"
4344

4445
WORKDIR /app

0 commit comments

Comments
 (0)