Skip to content

Instantly share code, notes, and snippets.

@matthewgream
Last active October 31, 2023 20:10
Show Gist options
  • Save matthewgream/748cfa04b7d59d5fa0924bffcc732bf1 to your computer and use it in GitHub Desktop.
Save matthewgream/748cfa04b7d59d5fa0924bffcc732bf1 to your computer and use it in GitHub Desktop.
FROM python:3.9-alpine
############################################################################################################
RUN set -ex; \
apk add --update --no-cache build-base linux-headers && \
pip3 install --no-cache-dir --upgrade flask==2.0.2 requests==2.26.0 gunicorn==20.1.0 Werkzeug==2.0.2 psutil && \
apk del build-base linux-headers && \
apk cache clean && \
rm -rf /tmp/* /var/tmp/*
############################################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment