2022-11-05 01:52:44 +00:00
|
|
|
ARG REPO_LOCATION
|
|
|
|
|
2022-11-05 20:34:07 +00:00
|
|
|
FROM ${REPO_LOCATION}minideb-node as builder
|
2022-11-05 01:52:44 +00:00
|
|
|
|
2022-11-05 20:34:07 +00:00
|
|
|
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
|
2022-11-05 01:52:44 +00:00
|
|
|
|
|
|
|
USER 10500:10500
|
|
|
|
|
|
|
|
VOLUME /srv
|
|
|
|
# Tell n8n to store stuff in /srv
|
|
|
|
ENV HOME=/srv
|
|
|
|
|
2022-11-05 20:34:07 +00:00
|
|
|
ENTRYPOINT [ "/app/node_modules/.bin/n8n" ]
|