Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
spiceywasabi authored Nov 21, 2023
1 parent 62436c5 commit 9e2948b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ RUN apt-get update \
# && apt-get -y upgrade \
&& /etc/init.d/cups start \
&& lpadmin -p DiscordPrinter -v cups-pdf:/ -E -i /usr/share/ppd/cups-pdf/CUPS-PDF_opt.ppd -u allow:all \
&& lpadmin -d DiscordPrinter \
&& cupsctl --remote-admin --remote-any --share-printers --user-cancel-any \
&& sed -i 's/Listen localhost:631/Port 631\nListen 0.0.0.0:631/' /etc/cups/cupsd.conf \
&& /etc/init.d/cups stop \
Expand Down

0 comments on commit 9e2948b

Please sign in to comment.