21 lines
405 B
Docker
21 lines
405 B
Docker
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
|
|
|
|
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" ]
|