Skip to content

Commit

Permalink
Docker: set python user env and fix user executable permission on /ap…
Browse files Browse the repository at this point in the history
…p/codecollection path (#2)
  • Loading branch information
saurabh3460 authored Feb 1, 2024
1 parent c0f204c commit 17d6088
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ RUN chown 1000:0 -R $WORKDIR
RUN chown 1000:0 -R /app/codecollection

# Set the user to $USER
USER python
USER python
ENV USER=python
RUN chmod -R u+x /app/codecollection

0 comments on commit 17d6088

Please sign in to comment.