Skip to content

Instantly share code, notes, and snippets.

@craigderington
Last active June 24, 2021 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craigderington/f7b002cfc92a6cd2a2dc7eb784615089 to your computer and use it in GitHub Desktop.
Save craigderington/f7b002cfc92a6cd2a2dc7eb784615089 to your computer and use it in GitHub Desktop.
Build image for Flask Redis Counter
FROM python:3.6-alpine
LABEL maintainer="Craig Derington <craigderington17@gmail.com>"
RUN apk update && apk upgrade
RUN apk add screen curl
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
EXPOSE 8000
CMD ["python", "app.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment