Skip to content

Commit

Permalink
CHANGE: Attempt to add USB for dialout support.
Browse files Browse the repository at this point in the history
  • Loading branch information
helfrichmichael committed Jul 1, 2023
1 parent 40d47de commit 5745792
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,8 @@ EXPOSE 5900
VOLUME /home/cura/
VOLUME /prints/

# Enable printing with USB (https://github.com/helfrichmichael/cura-novnc/issues/7)
RUN usermod -aG dialout cura

# It's time! Let's get to work! We use /home/cura/ as a bindable volume for Cura and its configurations. We use /prints/ to provide a location for STLs and GCODE files.
CMD ["/bin/bash", "-c", "chown -R cura:cura /home/cura/ /prints/ /dev/stdout && exec gosu cura supervisord"]

0 comments on commit 5745792

Please sign in to comment.