mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
pm2 not in home directory -> /app/
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user