define updaterdirectory and add forgotten exit

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-04-02 11:26:42 +02:00
parent 187bf3f767
commit ed36ba6c8d
2 changed files with 8 additions and 0 deletions

View file

@ -264,6 +264,11 @@ RUN set -ex; \
VOLUME /mnt/ncdata
RUN set -ex; \
mkdir -p /nc-updater; \
chown -R www-data:www-data /nc-updater; \
chmod -R 770 /nc-updater
# Give root a random password
RUN echo "root:$(openssl rand -base64 12)" | chpasswd