[DOCKER] Set default workspace separately for GUI image (#1328)

Another attempt to fix some broken cron setups
This commit is contained in:
Jesse Bannon 2025-09-01 11:26:36 -07:00 committed by GitHub
parent c2afe05c11
commit 3eb838eb40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,8 @@ FROM lscr.io/linuxserver/code-server:4.98.2
ENV OPENSSL_CONF="/etc/ssl"
# For downloading thumbnails
ENV SSL_CERT_DIR="/etc/ssl/certs/"
# Working directory used at both build and run times:
ENV DEFAULT_WORKSPACE="/config/ytdl-sub-configs"
###############################################################################
# YTDL-SUB INSTALL
@ -80,7 +82,6 @@ RUN mkdir -p /config && \
ENV EDITOR="nano" \
HOME="/config" \
DOCKER_MODS=linuxserver/mods:universal-stdout-logs|linuxserver/mods:universal-cron \
DEFAULT_WORKSPACE=/config/ytdl-sub-configs \
CRON_SCRIPT="${DEFAULT_WORKSPACE}/cron" \
CRON_WRAPPER_SCRIPT="/config/.cron_wrapper" \
LOGS_TO_STDOUT=/config/.cron.log \