fix: update ownership path for application logs in Dockerfile
Deploy to NAS / deploy (push) Failing after 49s

This commit is contained in:
2025-12-24 20:42:48 -05:00
parent 940c2eb4cd
commit af47efefcc
+1 -1
View File
@@ -16,7 +16,7 @@ COPY . .
# Create a non-root user to run the application # Create a non-root user to run the application
RUN addgroup -g 1001 -S nodejs && \ RUN addgroup -g 1001 -S nodejs && \
adduser -S nodejs -u 1001 && \ adduser -S nodejs -u 1001 && \
chown -R nodejs:nodejs /app chown -R nodejs:nodejs /app/logs
# Switch to non-root user # Switch to non-root user
USER nodejs USER nodejs