From c7e67e9b74bec742801d943c7ea9dd514e77daaa Mon Sep 17 00:00:00 2001 From: publicarray Date: Mon, 1 Jan 2024 10:38:18 +1100 Subject: [PATCH] Update docker build --- Dockerfile | 2 +- README.md | 2 +- docker-compose.yaml | 1 + pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52e2816..ab79891 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt COPY spkrepo ./spkrepo COPY migrations ./migrations -COPY manage.py wsgi.py ./ +COPY wsgi.py ./ HEALTHCHECK --interval=1m --timeout=5s \ CMD curl -f http://localhost:8000/ || exit 1 diff --git a/README.md b/README.md index 74efe87..84f3682 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ SECRET_KEY = "Please-change-me-to-some-random-string" SQLALCHEMY_ECHO = False SQLALCHEMY_DATABASE_URI = "postgresql://user:pass@localhost/dbname" # https://pythonhosted.org/Flask-Caching/#configuring-flask-caching -CACHE_TYPE= "simple" +CACHE_TYPE= "SimpleCache" # For signing packages GNUPG_PATH= "/usr/local/bin/gpg" ``` diff --git a/docker-compose.yaml b/docker-compose.yaml index c788e2f..1504a44 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,6 +12,7 @@ services: - 5432:5432 app: build: . + image: ghcr.io/synocommunity/spkrepo:v0.2.4 command: flask run -h 0.0.0.0 ports: - 5000:5000 diff --git a/pyproject.toml b/pyproject.toml index ac52e68..78d3ba2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "spkrepo" -version = "0.2.3" +version = "0.2.4" description = "Synology Package Repository" license = "MIT" authors = ["Antoine Bertin "]