build: slim down the docker container (#60)

Co-authored-by: Ushie <ushiekane@gmail.com>
This commit is contained in:
Vitaly Artemyev
2023-09-26 08:56:16 +05:00
committed by GitHub
parent 1cfc41879d
commit 80b858c578
5 changed files with 37 additions and 9 deletions

1
docker/run-backend.sh Executable file
View File

@@ -0,0 +1 @@
python3 -m sanic /usr/src/app --fast --access-logs --motd --noisy-exceptions -H 0.0.0.0

1
docker/run-healthcheck.sh Executable file
View File

@@ -0,0 +1 @@
curl --fail http://0.0.0.0:8000/docs