generated from Templates/Docker_Image
Compare commits
5 Commits
d488434323
...
0.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
| e7df5a06c4 | |||
| 95679835fa | |||
| 885cf13117 | |||
| dde9402426 | |||
| ad82cf1436 |
@@ -1,6 +1,9 @@
|
||||
FROM alpine
|
||||
FROM n8nio/n8n:latest
|
||||
USER root
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./n8n_ollama/* /app
|
||||
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
|
||||
|
||||
CMD ["sh", "/app/hello_world.sh"]
|
||||
USER node
|
||||
28
HISTORY.md
Normal file
28
HISTORY.md
Normal file
@@ -0,0 +1,28 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
|
||||
(unreleased)
|
||||
------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Broken version increment logic refs NOISSUE. [Simon Diesenreiter]
|
||||
- Fix Containerfile refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
|
||||
0.0.1 (2026-03-01)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Add missing tempalte file. [Simon Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
- Feat: initial container definition refs NOISSUE. [Simon Diesenreiter]
|
||||
- ✅ Ready to clone and code. [simon]
|
||||
- Initial commit. [Simon Diesenreiter]
|
||||
- Initial commit. [Artifacts <>]
|
||||
|
||||
|
||||
15
Makefile
15
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:
|
||||
@@ -32,20 +30,11 @@ lint: issetup ## Run pep8, black, mypy linters.
|
||||
|
||||
.PHONY: release
|
||||
release: issetup ## Create a new tag for release.
|
||||
@echo "WARNING: This operation will create a version tag and push to gitea"
|
||||
@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."
|
||||
@./.gitea/conventional_commits/generate-version.sh
|
||||
|
||||
.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'
|
||||
|
||||
1
n8n_ollama/VERSION
Normal file
1
n8n_ollama/VERSION
Normal file
@@ -0,0 +1 @@
|
||||
0.0.2
|
||||
Reference in New Issue
Block a user