fix: docker build fallaba por public/ ausente y login alineado con sam-portal
This commit is contained in:
1 parent
2dc41ed4fa
commit
2b60a17645
6 files changed
+111
-81
No files matched your search
+2
-2
@@ -18,8 +18,8 @@ FROM base AS runner
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
RUN addgroup --system --gid 1001 nodejs \
|
||||
&& adduser --system --uid 1001 -G nodejs nextjs
|
||||
|
||||
COPY --from=builder /app/public ./public
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
|
||||
Reference in new issue
Block a user