mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
Fix for Docker image #96
This commit is contained in:
parent
0dd1db936b
commit
eaa7fc3885
5 changed files with 11 additions and 3 deletions
|
@ -16,4 +16,4 @@ VOLUME /bazarr/data
|
||||||
|
|
||||||
EXPOSE 6767
|
EXPOSE 6767
|
||||||
|
|
||||||
CMD ["python", "/bazarr/bazarr.py"]
|
COPY root/ /
|
||||||
|
|
|
@ -18,4 +18,4 @@ VOLUME /bazarr/data
|
||||||
|
|
||||||
EXPOSE 6767
|
EXPOSE 6767
|
||||||
|
|
||||||
CMD ["python", "/bazarr/bazarr.py"]
|
COPY root/ /
|
||||||
|
|
|
@ -18,4 +18,4 @@ VOLUME /bazarr/data
|
||||||
|
|
||||||
EXPOSE 6767
|
EXPOSE 6767
|
||||||
|
|
||||||
CMD ["python", "/bazarr/bazarr.py"]
|
COPY root/ /
|
||||||
|
|
4
root/etc/cont-init.d/20-config
Normal file
4
root/etc/cont-init.d/20-config
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
# permissions
|
||||||
|
chown -R abc:abc /bazarr/data
|
4
root/etc/services.d/bazarr/run
Normal file
4
root/etc/services.d/bazarr/run
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
exec s6-setuidgid abc python /bazarr/bazarr.py
|
||||||
|
|
Loading…
Reference in a new issue