solve permission problem
This commit is contained in:
@@ -60,6 +60,9 @@ COPY --from=builder /app/docker/entrypoint.sh ./docker/entrypoint.sh
|
|||||||
|
|
||||||
RUN chmod +x ./docker/entrypoint.sh
|
RUN chmod +x ./docker/entrypoint.sh
|
||||||
|
|
||||||
|
# --- NEU: Ordner erstellen und Rechte an den nextjs User geben ---
|
||||||
|
RUN mkdir -p /app/.next/cache && chown nextjs:nodejs /app/.next/cache
|
||||||
|
|
||||||
USER nextjs
|
USER nextjs
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
Reference in New Issue
Block a user