Skip to content

Commit

Permalink
resolve permission error
Browse files Browse the repository at this point in the history
  • Loading branch information
7174Andy committed Jan 9, 2025
1 parent cdf2cc2 commit 8df0c5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sleap_chrome_remote_desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ RUN useradd -m -s /bin/bash ${USERNAME} && echo "${USERNAME}:password" | chpassw
# Add USERNAME to the chrome-remote-desktop group
RUN usermod -aG chrome-remote-desktop ${USERNAME}

# Relax permissions on Python site-packages
RUN chmod -R a+w /usr/local/lib/python3.8/dist-packages

# Set up Chrome Remote Desktop for the user
USER ${USERNAME}
WORKDIR /home/${USERNAME}

0 comments on commit 8df0c5c

Please sign in to comment.