generated from Templates/Docker_Image
fix: fix Containerfile refs NOISSUE
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FROM docker.n8n.io/n8nio/n8n
|
||||
FROM n8nio/n8n:latest
|
||||
USER root
|
||||
|
||||
RUN mkdir -p /opt/extra && \\
|
||||
npm --prefix /opt/extra install @langchain/ollama@1.0.3 && \\
|
||||
cp /opt/extra/node_modules/@langchain/ollama/dist/utils.* $(dirname $(find /usr/local/lib/ -name utils.js | grep ollama)) && \\
|
||||
chown -R node:node /opt/extra
|
||||
RUN mkdir -p /opt/extra
|
||||
RUN npm --prefix /opt/extra install @langchain/ollama@1.0.3
|
||||
RUN cp /opt/extra/node_modules/@langchain/ollama/dist/utils.* $(dirname $(find /usr/local/lib/ -name utils.js | grep ollama))
|
||||
RUN chown -R node:node /opt/extra
|
||||
|
||||
USER node
|
||||
Reference in New Issue
Block a user