This commit is contained in:
danniel 2023-09-03 17:17:13 +03:00
parent 03c1913e2b
commit 4a2023aa8d
2 changed files with 24 additions and 1 deletions

2
.github/CODEOWNERS vendored
View file

@ -1 +1 @@
.github/** @devops
.github/** @UVeye/devops

View file

@ -121,6 +121,29 @@ 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 >> portal.desktop
[Desktop Entry]
Type=Link
Name=UVportal
Icon=google-chrome
URL=/usr/share/applications/uvportal.desktop
eof
eof
EXPOSE 80
WORKDIR /root
ENV HOME=/home/ubuntu \