Skip to content

Commit c7e67e9

Browse files
committed
Update docker build
1 parent 72c9c42 commit c7e67e9

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
1414

1515
COPY spkrepo ./spkrepo
1616
COPY migrations ./migrations
17-
COPY manage.py wsgi.py ./
17+
COPY wsgi.py ./
1818

1919
HEALTHCHECK --interval=1m --timeout=5s \
2020
CMD curl -f http://localhost:8000/ || exit 1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ SECRET_KEY = "Please-change-me-to-some-random-string"
5151
SQLALCHEMY_ECHO = False
5252
SQLALCHEMY_DATABASE_URI = "postgresql://user:pass@localhost/dbname"
5353
# https://pythonhosted.org/Flask-Caching/#configuring-flask-caching
54-
CACHE_TYPE= "simple"
54+
CACHE_TYPE= "SimpleCache"
5555
# For signing packages
5656
GNUPG_PATH= "/usr/local/bin/gpg"
5757
```

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
- 5432:5432
1313
app:
1414
build: .
15+
image: ghcr.io/synocommunity/spkrepo:v0.2.4
1516
command: flask run -h 0.0.0.0
1617
ports:
1718
- 5000:5000

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "spkrepo"
3-
version = "0.2.3"
3+
version = "0.2.4"
44
description = "Synology Package Repository"
55
license = "MIT"
66
authors = ["Antoine Bertin <diaoulael@gmail.com>"]

0 commit comments

Comments
 (0)