Update README.md

This commit is contained in:
2025-04-27 18:32:25 +02:00
committed by GitHub
parent a31e4d7954
commit 6bc664bbe3

View File

@@ -58,18 +58,19 @@ Questa applicazione utilizza Quart come web framework asincrono e Hypercorn come
```yml ```yml
version: "3.9" version: "3.9"
services: services:
quartapp: quartapp:
image: python:3.10-slim image: python:3.10-slim
container_name: herselquart container_name: quartapp
working_dir: /app working_dir: /app
ports: ports:
- "127.0.0.1:5000:5000" - "127.0.0.1:5000:5000"
restart: always
command: > command: >
sh -c " sh -c "
apt-get update && apt-get update &&
apt-get install -y git && apt-get install -y git &&
git clone https://github.com/BluLupo/hersel.it.git /app && [ -d /app/.git ] || git clone https://github.com/BluLupo/hersel.it.git /app &&
pip install --no-cache-dir -r requirements.txt && pip install --no-cache-dir -r requirements.txt &&
hypercorn -c hypercorn_config.toml app:app hypercorn -c hypercorn_config.toml app:app
" "