Allow setting username and id

This commit is contained in:
thomas committed 2024-12-15 21:31:19 +01:00
1 parent 9b2556f49a
commit b7ce160dc3
5 files changed
+68 -55

No files matched your search

-5
View File
@@ -57,8 +57,3 @@ COPY entrypoint.sh /opt/noVNC/entrypoint.sh
ENTRYPOINT ["/opt/noVNC/entrypoint.sh"]
EXPOSE 8080
RUN adduser --home /home/novnc --shell /bin/bash --system --disabled-password novnc \
&& echo "novnc ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
USER novnc
WORKDIR /home/novnc