fix: update ownership path for application logs in Dockerfile
Deploy to NAS / deploy (push) Failing after 49s
Deploy to NAS / deploy (push) Failing after 49s
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ COPY . .
|
||||
# Create a non-root user to run the application
|
||||
RUN addgroup -g 1001 -S nodejs && \
|
||||
adduser -S nodejs -u 1001 && \
|
||||
chown -R nodejs:nodejs /app
|
||||
chown -R nodejs:nodejs /app/logs
|
||||
|
||||
# Switch to non-root user
|
||||
USER nodejs
|
||||
|
||||
Reference in New Issue
Block a user