revert change

This commit is contained in:
danniel 2023-09-04 10:06:05 +03:00
commit 8b55d27e52

View file

@ -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 && \ 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 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 EXPOSE 80
WORKDIR /root WORKDIR /root
ENV HOME=/home/ubuntu \ ENV HOME=/home/ubuntu \