Skip to content

Instantly share code, notes, and snippets.

@agusrichard
Created June 12, 2022 13:10
Show Gist options
  • Save agusrichard/095db401a3e350dbaafa3903075da806 to your computer and use it in GitHub Desktop.
Save agusrichard/095db401a3e350dbaafa3903075da806 to your computer and use it in GitHub Desktop.
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