generated from Templates/Docker_Image
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e7df5a06c4 | |||
| 95679835fa | |||
| 885cf13117 |
@@ -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
|
||||||
@@ -5,6 +5,15 @@ Changelog
|
|||||||
(unreleased)
|
(unreleased)
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
Fix
|
||||||
|
~~~
|
||||||
|
- Broken version increment logic refs NOISSUE. [Simon Diesenreiter]
|
||||||
|
- Fix Containerfile refs NOISSUE. [Simon Diesenreiter]
|
||||||
|
|
||||||
|
|
||||||
|
0.0.1 (2026-03-01)
|
||||||
|
------------------
|
||||||
|
|
||||||
Fix
|
Fix
|
||||||
~~~
|
~~~
|
||||||
- Add missing tempalte file. [Simon Diesenreiter]
|
- Add missing tempalte file. [Simon Diesenreiter]
|
||||||
|
|||||||
15
Makefile
15
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:
|
||||||
@@ -32,20 +30,11 @@ lint: issetup ## Run pep8, black, mypy linters.
|
|||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release: issetup ## Create a new tag for release.
|
release: issetup ## Create a new tag for release.
|
||||||
@echo "WARNING: This operation will create a version tag and push to gitea"
|
@./.gitea/conventional_commits/generate-version.sh
|
||||||
@read -p "Version? (provide the next x.y.z semver) : " TAG
|
|
||||||
@echo "$${TAG}" > n8n_ollama/VERSION
|
|
||||||
@$(ENV_PREFIX)gitchangelog > HISTORY.md
|
|
||||||
@git add n8n_ollama/VERSION HISTORY.md
|
|
||||||
@git commit -m "release: version $${TAG} 🚀"
|
|
||||||
@echo "creating git tag : $${TAG}"
|
|
||||||
@git tag $${TAG}
|
|
||||||
@git push -u origin HEAD --tags
|
|
||||||
@echo "Gitea Actions will detect the new tag and release the new version."
|
|
||||||
|
|
||||||
.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'
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0.0.1
|
0.0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user