Skip to content

Commit

Permalink
Merge pull request #68 from Casvt/docker_permissions
Browse files Browse the repository at this point in the history
Update Dockerfile.amd64
  • Loading branch information
Casvt authored Jul 12, 2023
2 parents d8116bd + 76bd914 commit d35d8c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ RUN useradd -m -N -u $PUID -g $PGID $USER && \
echo "${USER} ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers && \
chmod 0440 /etc/sudoers && \
chmod g+w /etc/passwd
RUN mkdir /app && \
mkdir /app/temp_downloads && \
chmod g+w /app/temp_downloads && \
mkdir /app/db && \
chmod g+w /app/db

USER $USER

Expand Down

0 comments on commit d35d8c2

Please sign in to comment.