изменил Dockerfile
This commit is contained in:
parent
abe57a01f0
commit
5ceaf8cb0d
@ -12,4 +12,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
|
|
||||||
COPY . .
|
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
|
- SECRET_KEY=your-secret-key
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "5002:5000"
|
- "5002:8062"
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user