mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
fix: dynamic node environment variable
This commit is contained in:
parent
a3e7998d11
commit
0505620145
4 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue