Advertisement
Guest User

Untitled

a guest
Aug 30th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:buster
  2.  
  3. COPY ./certs /usr/local/share/ca-certificates/
  4. RUN sudo update-ca-certificates
  5.  
  6. RUN install_packages wget unzip curl python3-dev python3-pip gcc
  7. RUN sudo pip3 install evdev
  8. RUN pip3 install --user evdev
  9. RUN pip3 install keyboard
  10.  
  11. # Move to app dir
  12. WORKDIR /usr/src/app
  13.  
  14. # Move app to filesystem
  15. COPY ./app ./usr/share/
  16.  
  17. # Start app
  18. CMD ["python", "/usr/src/app/start.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement