diff --git a/Application/backend/Dockerfile b/Application/backend/Dockerfile index 03e53c452f94cade3e3c8515f35fda5915d715cb..84fe76c19db2045b478aee47a162eb6358093417 100644 --- a/Application/backend/Dockerfile +++ b/Application/backend/Dockerfile @@ -20,6 +20,8 @@ COPY . . # Create a non-root user RUN addgroup -S appgroup && adduser -S appuser -G appgroup +RUN chown -R appuser:appgroup /app + USER appuser # Expose the port the app runs on