Permission fixes?
This commit is contained in:
parent
d5c1b37d21
commit
c0153d551f
11
Dockerfile
11
Dockerfile
@ -38,11 +38,6 @@ RUN echo "**** install calibre ****" && \
|
||||
apt-get install -y calibre && \
|
||||
dbus-uuidgen > /etc/machine-id
|
||||
|
||||
RUN echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
RUN echo "**** s6 omsta;; ****" && \
|
||||
set -ex && \
|
||||
@ -68,6 +63,12 @@ RUN echo *** Install Packages *** && \
|
||||
python3 -m pip --no-cache-dir install pushbullet.py pillow && \
|
||||
ln -s /opt/calibre/calibredb /bin/calibredb
|
||||
|
||||
RUN echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
|
||||
COPY root/ /
|
||||
|
||||
VOLUME /config
|
||||
|
@ -1 +1 @@
|
||||
2022.03.26-05
|
||||
2022.03.26-06
|
||||
|
@ -147,6 +147,7 @@ def downloader(args):
|
||||
moving = ""
|
||||
except BaseException:
|
||||
# story is not in calibre
|
||||
output += log("\tStory is not in Calibre", 'WARNING', live)
|
||||
cur = url
|
||||
moving = 'cd "{}" && '.format(loc)
|
||||
copyfile("/config/personal.ini", "{}/personal.ini".format(loc))
|
||||
@ -434,6 +435,7 @@ if __name__ == "__main__":
|
||||
|
||||
if not (options.user or options.password):
|
||||
raise ValueError("User or Password not given")
|
||||
print(options)
|
||||
main(
|
||||
options.user,
|
||||
options.password,
|
||||
|
@ -5,5 +5,6 @@ usermod -o -u "$PUID" abc
|
||||
|
||||
chown -R abc:abc /app
|
||||
chown -R abc:abc /config
|
||||
chown -R abc:abc /root
|
||||
|
||||
chmod +x /app/run.sh
|
Loading…
Reference in New Issue
Block a user