This commit is contained in:
岳松
2016-10-18 16:12:20 +08:00
parent d7db7119de
commit ac5f82fd9d

View File

@@ -14,4 +14,5 @@ RUN mkdir /root/.vnc/ \
EXPOSE 5901
COPY xstartup /root/.vnc/
COPY vnc.sh /opt/
CMD ["/opt/vnc.sh"]
RUN chmod +x /root/.vnc/xstartup /etc/X11/xinit/xinitrc
ENTRYPOINT ["/opt/vnc.sh"]