n8n: use builder container, moar packages
This commit is contained in:
parent
a6f2bd379c
commit
d45ecc8e84
1 changed files with 11 additions and 4 deletions
|
@ -1,9 +1,16 @@
|
||||||
ARG REPO_LOCATION
|
ARG REPO_LOCATION
|
||||||
|
|
||||||
FROM ${REPO_LOCATION}minideb-node
|
FROM ${REPO_LOCATION}minideb-node as builder
|
||||||
|
|
||||||
RUN install_packages sqlite3 python3-minimal libpython3-stdlib
|
RUN install_packages sqlite3 python3-minimal libpython3-stdlib make gcc build-essential
|
||||||
RUN npm install -g n8n
|
RUN mkdir /app
|
||||||
|
WORKDIR /app
|
||||||
|
RUN npm install n8n
|
||||||
|
|
||||||
|
FROM ${REPO_LOCATION}minideb_node
|
||||||
|
|
||||||
|
RUN install_packages sqlite3
|
||||||
|
COPY /app /app
|
||||||
|
|
||||||
USER 10500:10500
|
USER 10500:10500
|
||||||
|
|
||||||
|
@ -11,4 +18,4 @@ VOLUME /srv
|
||||||
# Tell n8n to store stuff in /srv
|
# Tell n8n to store stuff in /srv
|
||||||
ENV HOME=/srv
|
ENV HOME=/srv
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/local/bin/n8n" ]
|
ENTRYPOINT [ "/app/node_modules/.bin/n8n" ]
|
||||||
|
|
Loading…
Reference in a new issue