Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
# Start from a Python+Node compatible Debian image
|
| 2 |
FROM python:3.12-slim
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
# Install system dependencies
|
| 5 |
RUN apt-get update && \
|
| 6 |
apt-get install -y \
|
|
@@ -43,4 +46,4 @@ RUN mkdir -p /root/.n8n/database /root/.n8n/config /root/.n8n/workflows /root/.n
|
|
| 43 |
|
| 44 |
WORKDIR /data
|
| 45 |
|
| 46 |
-
CMD ["n8n", "start"]
|
|
|
|
| 1 |
# Start from a Python+Node compatible Debian image
|
| 2 |
FROM python:3.12-slim
|
| 3 |
|
| 4 |
+
# Use root user (default for Debian images)
|
| 5 |
+
USER root
|
| 6 |
+
|
| 7 |
# Install system dependencies
|
| 8 |
RUN apt-get update && \
|
| 9 |
apt-get install -y \
|
|
|
|
| 46 |
|
| 47 |
WORKDIR /data
|
| 48 |
|
| 49 |
+
CMD ["n8n", "start"]
|