docker-images/images/n8n/Dockerfile

22 lines
405 B
Docker
Raw Normal View History

ARG REPO_LOCATION
FROM ${REPO_LOCATION}minideb-node as builder
RUN install_packages sqlite3 python3-minimal libpython3-stdlib make gcc build-essential
RUN mkdir /app
WORKDIR /app
RUN npm install n8n
2022-11-05 21:28:44 +00:00
FROM ${REPO_LOCATION}minideb-node
RUN install_packages sqlite3
COPY /app /app
USER 10500:10500
VOLUME /srv
# Tell n8n to store stuff in /srv
ENV HOME=/srv
ENTRYPOINT [ "/app/node_modules/.bin/n8n" ]