diff --git a/Dockerfile b/Dockerfile index c76adfd..5ac7c9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ ENV OLLAMA_BASE_URL=http://localhost:11434 \ RUN apk add --no-cache --update \ python3 \ py3-pip \ + gcc \ + python3-dev \ make \ bash \ && rm -rf ~/.cache/* /usr/local/share/man /tmp/* diff --git a/Makefile b/Makefile index d9f60d3..3cbb709 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ install: $(INSTALL_STAMP) $(INSTALL_STAMP): pyproject.toml @if [ -z $(POETRY) ]; then echo "Poetry could not be found. Please install it."; exit 2; fi - $(POETRY) install + $(POETRY) install --only main touch $(INSTALL_STAMP) # Clean target to remove temporary files and caches diff --git a/README.md b/README.md index 76ea5e0..987d09e 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,20 @@ # yo-yo-maská´™ A reversible anonymisation service for us all -# Setup development environment +## Build status +[![Docker](https://github.com/baloise/yo-yo-maskr/actions/workflows/docker-publish.yml/badge.svg?branch=release)](https://github.com/baloise/yo-yo-maskr/actions/workflows/docker-publish.yml) + +## Setup development environment ``` ./setup.sh ``` -# Run +## Run ``` make run ``` -# Trouble shooting +## Trouble shooting ``` echo -n 'db' | gnome-keyring-daemon --unlock diff --git a/pyproject.toml b/pyproject.toml index 55d2047..acde198 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,13 +23,13 @@ mypy = "^1" setuptools = "^0" gunicorn = "^0" python-dateutil = "^2.9.0.post0" -ipykernel = "^6.29.5" tqdm = "^4.66.6" -jupyter = "^1.1.1" [tool.poetry.dev-dependencies] pytest = "^6.0" ruff = "^0.7" +ipykernel = "^6.29.5" +jupyter = "^1.1.1" [tool.pytest.ini_options] minversion = "6.0"