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
|
||||
4
Makefile
4
Makefile
@@ -1,6 +1,4 @@
|
||||
.ONESHELL:
|
||||
ENV_PREFIX=$(shell python -c "if __import__('pathlib').Path('.venv/bin/pip').exists(): print('.venv/bin/')")
|
||||
USING_POETRY=$(shell grep "tool.poetry" pyproject.toml && echo "yes")
|
||||
|
||||
.PHONY: issetup
|
||||
issetup:
|
||||
@@ -45,7 +43,7 @@ release: issetup ## Create a new tag for release.
|
||||
|
||||
.PHONY: build
|
||||
build: issetup ## Create a new tag for release.
|
||||
@docker build -t n8n_ollama:$(cat n8n_ollama/VERSION) -f Containerfile .
|
||||
@docker build -t n8n_ollama:$$(cat n8n_ollama/VERSION) -f Containerfile .
|
||||
|
||||
# This project has been generated from rochacbruno/python-project-template
|
||||
# __author__ = 'rochacbruno'
|
||||
|
||||
Reference in New Issue
Block a user