Skip to content

Instantly share code, notes, and snippets.

@bunchc
Last active July 14, 2017 22:37
Show Gist options
  • Save bunchc/af38bbde1e6d38844ea7249a26858d16 to your computer and use it in GitHub Desktop.
Save bunchc/af38bbde1e6d38844ea7249a26858d16 to your computer and use it in GitHub Desktop.
Dockerfile for Fan Control
FROM arm32v6/alpine:3.6
RUN apk --no-cache add bash python python-dev py-pip build-base curl
RUN pip install RPi.GPIO Flask flask_restful
COPY ./fan.py /fan.py
EXPOSE 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment