Skip to content

Commit

Permalink
chore: try docker build in CI cause local is acting up
Browse files Browse the repository at this point in the history
  • Loading branch information
BelgianNoise committed May 16, 2024
1 parent 039091a commit b65a368
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dl-downer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ ENV AUTH_VRTMAX_PASSWORD=
ENV AUTH_GOPLAY_EMAIL=
ENV AUTH_GOPLAY_PASSWORD=

ENV PUID=6969
ENV PGID=6969

COPY . .

# Make all binaries executable
Expand All @@ -39,4 +42,4 @@ RUN pip install --no-cache-dir -r requirements.txt
# RUN pip install [email protected]
RUN playwright install --with-deps

CMD [ "python", "start.py" ]
CMD [ "entry.sh" ]
15 changes: 15 additions & 0 deletions dl-downer/entry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin bash

PUID=${PUID:-6969}
PGID=${PGID:-6969}

groupmod -o -g "$PGID" myGroup
usermod -o -u "$PUID" myUser

chown myUser:myGroup /downloads
chown myUser:myGroup /cdm
chown myUser:myGroup /storage_states

id

python ./start.py

0 comments on commit b65a368

Please sign in to comment.