No yarn
This commit is contained in:
parent
cc5e6acb6a
commit
ad16ec438b
2 changed files with 2 additions and 28 deletions
|
@ -22,14 +22,14 @@ ENV NEXT_TELEMETRY_DISABLED=0
|
|||
RUN yarn run build;
|
||||
|
||||
# Production image, copy all the files and run next
|
||||
FROM base AS runner
|
||||
FROM chimeralinux/chimera:latest AS runner
|
||||
RUN apk add nodejs shadow
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
# Uncomment the following line in case you want to disable telemetry during runtime.
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
RUN apk add shadow
|
||||
RUN groupadd --system --gid 1001 nodejs
|
||||
RUN useradd --system --uid 1001 nextjs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue