Skip to content

Commit

Permalink
Update docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
publicarray committed Dec 31, 2023
1 parent 72c9c42 commit c7e67e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
Expand Down

0 comments on commit c7e67e9

Please sign in to comment.