-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: try docker build in CI cause local is acting up
- Loading branch information
1 parent
039091a
commit b65a368
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |