From 7615793c335fbb28579f4a8b2a051656f00cc676 Mon Sep 17 00:00:00 2001 From: lukachi Date: Thu, 20 Feb 2025 19:25:57 +0200 Subject: [PATCH] hotfix --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3a05d5b..fb7d918 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,10 +13,10 @@ RUN yarn build FROM base as production WORKDIR /app ENV NODE_ENV=production -COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./package.json COPY --from=builder /app/public ./public +COPY --from=builder /app/.next ./.next RUN addgroup -g 1001 -S nodejs RUN adduser -S nextjs -u 1001 USER nextjs