mirror of
https://github.com/wahyd4/raspberry-pi.git
synced 2026-08-08 20:36:36 +10:00
Add docker file for home pi
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM arm32v7/python:alpine
|
||||
|
||||
RUN apk update \
|
||||
&& apk add --update --no-cache alpine-sdk py-pip libusb-dev\
|
||||
&& pip install RPi.GPIO pyusb
|
||||
|
||||
VOLUME [ "/code" ]
|
||||
|
||||
CMD python code/x.py
|
||||
Reference in New Issue
Block a user