chore: remove persistent volume
Browse files- Dockerfile +0 -12
Dockerfile
CHANGED
|
@@ -4,18 +4,6 @@ FROM tsdocode/n8n:facebook
|
|
| 4 |
# Set the working directory to /data
|
| 5 |
WORKDIR /data
|
| 6 |
|
| 7 |
-
# Make sure the directory for persistent data exists
|
| 8 |
-
VOLUME /data
|
| 9 |
-
|
| 10 |
-
USER root
|
| 11 |
-
|
| 12 |
-
# Make sure the directory /data/uploads exists and has write permissions for all
|
| 13 |
-
RUN ["/bin/sh", "-c", "mkdir -p /data && chmod 777 /data"]
|
| 14 |
-
|
| 15 |
-
USER node
|
| 16 |
-
|
| 17 |
-
ENV N8N_USER_FOLDER=/data
|
| 18 |
-
|
| 19 |
# Set the environment variables
|
| 20 |
ENV N8N_TRUST_PROXY=true
|
| 21 |
ENV N8N_PROTOCOL=https
|
|
|
|
| 4 |
# Set the working directory to /data
|
| 5 |
WORKDIR /data
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Set the environment variables
|
| 8 |
ENV N8N_TRUST_PROXY=true
|
| 9 |
ENV N8N_PROTOCOL=https
|