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: