Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. FROM python:3.7-alpine
  2. WORKDIR /code
  3. ENV FLASK_APP app.py
  4. ENV FLASK_RUN_HOST 0.0.0.0
  5. RUN apk add --no-cache gcc musl-dev linux-headers
  6. COPY requirements.txt requirements.txt
  7. RUN pip install -r requirements.txt
  8. COPY . .
  9. CMD ["flask", "run"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement