jsonfix
All checks were successful
Deploy on push / deploy (push) Successful in 44s

This commit is contained in:
2025-03-20 12:24:30 +03:00
parent 0aff77eda6
commit ca01181f37
6 changed files with 34 additions and 20 deletions

View File

@@ -13,4 +13,7 @@ RUN pip install -r requirements.txt
COPY . .
CMD ["python", "-m", "granian", "main:app", "--interface", "asgi", "--host", "0.0.0.0", "--port", "8000"]
ENV PORT=8000
EXPOSE $PORT
CMD ["python", "-m", "granian", "main:app", "--interface", "asgi", "--host", "0.0.0.0", "--port", "$PORT"]