all repos — artbound-python @ 59aba643173f5bcec530cf5db3eb79c5e86011a3

A client-server reimplementation of the administration panel for ArtBound.

better dockerfile and docker-compose
BiRabittoh birabittoh@tilde.team
Sun, 27 Aug 2023 13:27:42 +0200
commit

59aba643173f5bcec530cf5db3eb79c5e86011a3

parent

6a4f346df6df7b919801e40fc79b385ae0b9f38b

2 files changed, 4 insertions(+), 8 deletions(-)

jump to
M DockerfileDockerfile

@@ -1,9 +1,10 @@

FROM tecktron/python-waitress:slim +WORKDIR /app + RUN pip install --upgrade pip COPY ./requirements.txt . RUN pip install -r requirements.txt -COPY ./artbound_python /app/artbound_python -WORKDIR /app +COPY ./artbound_python ./artbound_python ENV APP_MODULE=artbound_python:app
M docker-compose.yamldocker-compose.yaml

@@ -1,7 +1,7 @@

services: app: build: . - image: artbound_python:latest + image: ghcr.io/birabittoh/artbound-python:main container_name: artbound-python ports: - 127.0.0.1:1111:80

@@ -11,10 +11,5 @@ - cache:/app/artbound_python/static/res/cache/

- ${PWD}/.env:/app/.env - ${PWD}/credentials.json:/app/credentials.json - ${PWD}/token.json:/app/token.json - #healthcheck: - # test: wget -nv --tries=1 --spider http://localhost || exit 1 - # interval: 30s - # timeout: 5s - # retries: 2 volumes: cache: