Skip to content

Commit

Permalink
fix(build): docker
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde committed Oct 15, 2023
1 parent d393df9 commit 06a3f81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
# ===================== App Runner Stage =====================
FROM base AS runner

RUN addgroup -g 1001 -S nodejs && \
adduser -S nextjs -u 1001
RUN addgroup --gid 1001 --system nodejs && \
adduser --system --no-create-home --uid 1001 nextjs

# Copy all necessary files
COPY --from=build ${WORK_DIR}/public ./public
Expand Down

0 comments on commit 06a3f81

Please sign in to comment.