изменил Dockerfile
This commit is contained in:
parent
abe57a01f0
commit
5ceaf8cb0d
@ -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"]
|
||||
@ -9,7 +9,7 @@ services:
|
||||
- SECRET_KEY=your-secret-key
|
||||
restart: always
|
||||
ports:
|
||||
- "5002:5000"
|
||||
- "5002:8062"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user