Skip to content

Commit

Permalink
Run CMD in subshell
Browse files Browse the repository at this point in the history
  • Loading branch information
queeno committed May 22, 2016
1 parent af6f5b2 commit 668d685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ ADD passwd /root/.vnc/passwd

RUN chmod 600 /root/.vnc/passwd

CMD ["/usr/bin/vncserver",":1","-geometry 1280x800","-depth 24","&&","tail","-f","/root/.vnc/*:1.log"]
CMD /usr/bin/vncserver :1 -geometry 1280x800 -depth 24 && tail -f /root/.vnc/*:1.log

EXPOSE 5901

0 comments on commit 668d685

Please sign in to comment.