изменил Dockerfile

This commit is contained in:
Андрей Дувакин 2024-12-21 11:09:23 +05:00
parent abe57a01f0
commit 5ceaf8cb0d
2 changed files with 2 additions and 2 deletions

View File

@ -12,4 +12,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "-m", "main"]
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8062"]

View File

@ -9,7 +9,7 @@ services:
- SECRET_KEY=your-secret-key
restart: always
ports:
- "5002:5000"
- "5002:8062"
deploy:
resources:
limits: