Created
January 27, 2023 15:46
-
-
Save Arnold-git/d4fccc4c4a08093bd45f70e21baa1c68 to your computer and use it in GitHub Desktop.
Revisions
-
Arnold-git created this gist
Jan 27, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ FROM python:3.9 WORKDIR /sentimentApi # COPY ./app/requirements.txt /sentimentApi/requirements.txt # RUN pip install --no-cache-dir --upgrade -r /sentimentApi/requirements.txt # COPY ./app /sentimentApi/app # CMD exec gunicorn --bind :$PORT --workers 1 --worker-class uvicorn.workers.UvicornWorker --threads 8 app.main:app