diff --git a/Dockerfile b/Dockerfile index e2c5663..bcf2e83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \