Created
June 12, 2022 13:10
-
-
Save agusrichard/095db401a3e350dbaafa3903075da806 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
FROM python:3.9-alpine | |
ENV PYTHONDONTWRITEBYTECODE 1 | |
ENV PYTHONUNBUFFERED 1 | |
WORKDIR /app | |
COPY . /app | |
RUN pip install --upgrade pip | |
RUN pip install -r /app/requirements.txt | |
RUN FLASK_APP=app.py && FLASK_ENV=development | |
CMD ["flask", "run", "--host=0.0.0.0"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment