Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -56,7 +56,7 @@ RUN mkdir -p $DATABASE_PATH $CONFIG_PATH $WORKFLOWS_PATH $LOGS_PATH \
|
|
| 56 |
WORKDIR /data
|
| 57 |
|
| 58 |
# Set the USER to the non-root user that runs the application
|
| 59 |
-
USER
|
| 60 |
# Or USER root, depending on your setup, but 'node' is standard for n8n.
|
| 61 |
|
| 62 |
# Explicitly create the .n8n directory and ensure permissions are correct
|
|
|
|
| 56 |
WORKDIR /data
|
| 57 |
|
| 58 |
# Set the USER to the non-root user that runs the application
|
| 59 |
+
USER node
|
| 60 |
# Or USER root, depending on your setup, but 'node' is standard for n8n.
|
| 61 |
|
| 62 |
# Explicitly create the .n8n directory and ensure permissions are correct
|