Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:buster
- COPY ./certs /usr/local/share/ca-certificates/
- RUN sudo update-ca-certificates
- RUN install_packages wget unzip curl python3-dev python3-pip gcc
- RUN sudo pip3 install evdev
- RUN pip3 install --user evdev
- RUN pip3 install keyboard
- # Move to app dir
- WORKDIR /usr/src/app
- # Move app to filesystem
- COPY ./app ./usr/share/
- # Start app
- CMD ["python", "/usr/src/app/start.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement