mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 16:32:47 +01:00
revert change
This commit is contained in:
commit
8b55d27e52
1 changed files with 22 additions and 0 deletions
|
|
@ -121,6 +121,28 @@ COPY rootfs /
|
|||
RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \
|
||||
chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||
|
||||
# Create application Icon
|
||||
|
||||
RUN cat << eof >> /usr/share/applications/uvportal.desktop
|
||||
[Desktop Entry]
|
||||
Name=UVportal
|
||||
Type=Application
|
||||
Icon=google-chrome
|
||||
Exec=/usr/bin/google-chrome http://uvportal.uveye.local
|
||||
Terminal=false
|
||||
eof
|
||||
|
||||
|
||||
RUN cat << eof >> /home/uvdesk/Desktop/portal.desktop
|
||||
[Desktop Entry]
|
||||
Type=Link
|
||||
Name=UVportal
|
||||
Icon=google-chrome
|
||||
URL=/usr/share/applications/uvportal.desktop
|
||||
eof
|
||||
|
||||
RUN chown uvdesk:uvdesk /home/uvdesk/Desktop/portal.desktop
|
||||
|
||||
EXPOSE 80
|
||||
WORKDIR /root
|
||||
ENV HOME=/home/ubuntu \
|
||||
|
|
|
|||
Loading…
Reference in a new issue