Created
August 17, 2021 20:54
-
-
Save nicosingh/74352f4b21f2408c3fc1ba59fd272751 to your computer and use it in GitHub Desktop.
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 characters
FROM python:3.8-alpine | |
RUN apk add --no-cache \ | |
curl \ | |
libffi-dev \ | |
openssl-dev \ | |
build-base &&\ | |
rm -rf /var/cache/apk/* | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt &&\ | |
rm -f requirements.txt | |
COPY app.py /usr/local/bin/app | |
EXPOSE 5000 | |
ENTRYPOINT ["app"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment