Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -3,8 +3,7 @@ FROM docker.n8n.io/n8nio/n8n:latest
|
|
| 3 |
|
| 4 |
# Use the secret securely during the build process
|
| 5 |
RUN --mount=type=secret,id=N8N_AUTH_PASSWORD,mode=0444,required=true \
|
| 6 |
-
|
| 7 |
-
|
| 8 |
|
| 9 |
# Set environment variables for n8n
|
| 10 |
ENV GENERIC_TIMEZONE="Asia/Dubai" \
|
|
|
|
| 3 |
|
| 4 |
# Use the secret securely during the build process
|
| 5 |
RUN --mount=type=secret,id=N8N_AUTH_PASSWORD,mode=0444,required=true \
|
| 6 |
+
export N8N_BASIC_AUTH_PASSWORD=$(cat /run/secrets/N8N_AUTH_PASSWORD)
|
|
|
|
| 7 |
|
| 8 |
# Set environment variables for n8n
|
| 9 |
ENV GENERIC_TIMEZONE="Asia/Dubai" \
|