diff --git a/frontend/Dockerfile b/frontend/Dockerfile index f2affb9..73ce712 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -55,7 +55,7 @@ RUN adduser --system --uid 1001 nextjs COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static -USER nextjs +USER root EXPOSE 3000 @@ -63,6 +63,7 @@ ENV PORT=3000 ENV HOSTNAME="0.0.0.0" COPY entrypoint.sh /entrypoint.sh + RUN chmod +x /entrypoint.sh CMD ["/entrypoint.sh"] \ No newline at end of file