Skip to content

Instantly share code, notes, and snippets.

@voledemar
Created July 26, 2019 08:07
Show Gist options
  • Save voledemar/905f13439b08ead5f30c5f32ac8dc21d to your computer and use it in GitHub Desktop.
Save voledemar/905f13439b08ead5f30c5f32ac8dc21d to your computer and use it in GitHub Desktop.
The minimal typical Dockerfile files: python with uWSGI
FROM alpine:3.10.1
WORKDIR /app
RUN apk add --no-cache \
python3==3.7.3-r0 \
uwsgi-python3==2.0.18-r0
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "uwsgi", "--ini", "/uwsgi/uwsgi.ini" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment