From 5ceaf8cb0d511dce2ddb125ef667f7dc1664c65b Mon Sep 17 00:00:00 2001 From: andrei Date: Sat, 21 Dec 2024 11:09:23 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20Do?= =?UTF-8?q?ckerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Dockerfile | 2 +- docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index dcee5aa..c1913c5 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -12,4 +12,4 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . -CMD ["python", "-m", "main"] \ No newline at end of file +CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8062"] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 3b2fd7e..3066d5f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,7 @@ services: - SECRET_KEY=your-secret-key restart: always ports: - - "5002:5000" + - "5002:8062" deploy: resources: limits: