Spaces:
josejar
/
Running

n8n / Dockerfile
josejar's picture
Update Dockerfile
2b3bde2 verified
raw
history blame
425 Bytes
FROM rxchi1d/n8n-ffmpeg:latest
ENV N8N_RESTRICT_FILE_ACCESS_TO=/tmp
USER root
# Copiar scripts
COPY backup.py restore.py start.sh /app/
# Instalar dependencias
RUN apk add --no-cache python3 py3-pip && \
pip3 install --break-system-packages huggingface_hub && \
chmod +x /app/start.sh && \
chown node:node /app/*
USER node
# Usar start.sh como entrypoint
ENTRYPOINT ["/bin/sh", "/app/start.sh"]
EXPOSE 5678