fix: dynamic node environment variable

This commit is contained in:
theoleuthardt 2025-02-28 15:23:34 +01:00
parent a3e7998d11
commit 0505620145
4 changed files with 10 additions and 3 deletions

View file

@ -48,7 +48,8 @@ RUN \
FROM base AS runner
WORKDIR /app
ENV NODE_ENV=production
ARG NODE_ENV
ENV NODE_ENV=$NODE_ENV
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 fastify