Skip to content

Commit

Permalink
boi: this one might actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
BelgianNoise committed May 16, 2024
1 parent 10f7a3d commit ef7a956
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion dl-downer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ RUN pip install --no-cache-dir -r requirements.txt
RUN playwright install --with-deps

RUN apt-get install -y sudo gosu
RUN rm -rf /var/lib/apt/lists/

ENTRYPOINT [ "entry.sh" ]
4 changes: 2 additions & 2 deletions dl-downer/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ fi
# Change ownership of the home directory
chown -R "$PUID:$PGID" /home/myuser

chown -R myuser:mygroup /downloads
chown -R myuser:mygroup /storage_states
chown -R "$PUID:$PGID" /downloads
chown -R "$PUID:$PGID" /storage_states

# Run the command as the specified user
exec gosu "$PUID:$PGID" python start.py "$@"

0 comments on commit ef7a956

Please sign in to comment.