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
|
USER root
|
||||||
|
|
||||||
RUN mkdir -p /opt/extra && \\
|
RUN mkdir -p /opt/extra
|
||||||
npm --prefix /opt/extra install @langchain/ollama@1.0.3 && \\
|
RUN 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)) && \\
|
RUN 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 chown -R node:node /opt/extra
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
4
Makefile
4
Makefile
@@ -1,6 +1,4 @@
|
|||||||
.ONESHELL:
|
.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
|
.PHONY: issetup
|
||||||
issetup:
|
issetup:
|
||||||
@@ -45,7 +43,7 @@ release: issetup ## Create a new tag for release.
|
|||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: issetup ## Create a new tag for release.
|
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
|
# This project has been generated from rochacbruno/python-project-template
|
||||||
# __author__ = 'rochacbruno'
|
# __author__ = 'rochacbruno'
|
||||||
|
|||||||
Reference in New Issue
Block a user