Skip to content
Snippets Groups Projects
Unverified Commit fbc3a788 authored by Marco Emilio "sphakka" Poleggi's avatar Marco Emilio "sphakka" Poleggi
Browse files

Fix backend/Dockerfile: added chown /app for correct log file handling

parent 868aa40b
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,8 @@ COPY . . ...@@ -20,6 +20,8 @@ COPY . .
# Create a non-root user # Create a non-root user
RUN addgroup -S appgroup && adduser -S appuser -G appgroup RUN addgroup -S appgroup && adduser -S appuser -G appgroup
RUN chown -R appuser:appgroup /app
USER appuser USER appuser
# Expose the port the app runs on # Expose the port the app runs on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment