Skip to content

Instantly share code, notes, and snippets.

@nicosingh
Created August 17, 2021 20:54
Show Gist options
  • Save nicosingh/74352f4b21f2408c3fc1ba59fd272751 to your computer and use it in GitHub Desktop.
Save nicosingh/74352f4b21f2408c3fc1ba59fd272751 to your computer and use it in GitHub Desktop.
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