diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 7e8fc4a..ddcf713 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -25,9 +25,7 @@ ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs -COPY --from=builder /app/public ./public - -RUN mkdir .next +RUN mkdir -p ./public .next RUN chown nextjs:nodejs .next COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./