Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zihanxiao23 authored Dec 9, 2024
1 parent 6e896bb commit 923cbbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Start the Flask service
CMD ["python", "src/app.py"]
# Start FastAPI with Gunicorn and Uvicorn
CMD ["gunicorn", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:5000", "src.app:app"]

0 comments on commit 923cbbc

Please sign in to comment.