Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn O'Connor committed Dec 23, 2024
1 parent ae5ce71 commit 19c08b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ RUN npm install @swc/core @napi-rs/magic-string && \
FROM node:20-slim AS runner

WORKDIR /gen3
ENV PORT=3000

RUN addgroup --system --gid 1001 nextjs && \
adduser --system --uid 1001 nextjs

COPY --from=builder /start.sh ./
COPY --from=builder /gen3/config ./config
COPY --from=builder /gen3/public ./public
COPY --from=builder /gen3/.next/static ./.next/static
Expand Down

0 comments on commit 19c08b2

Please sign in to comment.