mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
fix: remove ports an some comments.
Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
11
Dockerfile
11
Dockerfile
@ -72,14 +72,15 @@ COPY entrypoint.sh /entrypoint.sh
|
||||
COPY menu.xml /etc/xdg/openbox/
|
||||
COPY supervisord.conf /etc/
|
||||
|
||||
# HTTP Port
|
||||
EXPOSE 8080
|
||||
|
||||
# VNC Port
|
||||
EXPOSE 5900
|
||||
# Needs to be ran with HOST networking so this are no longer needed.
|
||||
# # HTTP Port
|
||||
# EXPOSE 8080
|
||||
|
||||
# # VNC Port
|
||||
# EXPOSE 5900
|
||||
|
||||
VOLUME /configs/
|
||||
VOLUME /prints/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["bash", "-c", "chown -R slic3r:slic3r /home/slic3r/ /configs/ /prints/ /dev/stdout && exec gosu slic3r supervisord"]
|
||||
|
@ -15,5 +15,7 @@ else
|
||||
export VNC_SEC="-securitytypes TLSNone,X509None,None"
|
||||
fi
|
||||
export LOCALFBPORT=$((5900 + DISPLAY_NUMBER))
|
||||
export VGLRUN=vglrun
|
||||
export VGLRUN=/usr/bin/vglrun
|
||||
|
||||
# fix perms and launch supervisor with the above environment variables
|
||||
chown -R slic3r:slic3r /home/slic3r/ /configs/ /prints/ /dev/stdout && exec gosu slic3r supervisord # -e TRACE
|
||||
|
Reference in New Issue
Block a user