Created
February 22, 2022 19:33
-
-
Save Mgancita/fa276649fb6001c55691e11cc056ba3b to your computer and use it in GitHub Desktop.
This file contains 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 characters
#Docker Build | |
FROM python:3.8.2 | |
WORKDIR /app | |
COPY . /app | |
RUN apt-get update -y \ | |
&& apt-get install -y gcc libpq-dev \ | |
&& pip3 install -r requirements.txt --no-cache-dir | |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment