diff --git a/Dockerfile b/Dockerfile index cf4d4e6..fb795c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,5 @@ RUN mkdir /root/.vnc/ \ EXPOSE 5901 COPY xstartup /root/.vnc/ COPY vnc.sh /opt/ -CMD ["/opt/vnc.sh"] \ No newline at end of file +RUN chmod +x /root/.vnc/xstartup /etc/X11/xinit/xinitrc +ENTRYPOINT ["/opt/vnc.sh"] \ No newline at end of file