pm2 not in home directory -> /app/

This commit is contained in:
2025-10-22 21:57:26 +02:00
parent 87dda38bc3
commit a66609a40c

View File

@@ -77,6 +77,9 @@ RUN groupadd -g 1001 nodejs && \
chmod 755 /app && \ chmod 755 /app && \
chmod 775 /app/data chmod 775 /app/data
# Set PM2 to use app directory instead of home directory
ENV PM2_HOME=/app/.pm2
USER schichtplan USER schichtplan
EXPOSE 3000 3002 EXPOSE 3000 3002