[DOCKER] Set default workspace separately for GUI image (#1328)
Another attempt to fix some broken cron setups
This commit is contained in:
parent
c2afe05c11
commit
3eb838eb40
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ FROM lscr.io/linuxserver/code-server:4.98.2
|
||||||
ENV OPENSSL_CONF="/etc/ssl"
|
ENV OPENSSL_CONF="/etc/ssl"
|
||||||
# For downloading thumbnails
|
# For downloading thumbnails
|
||||||
ENV SSL_CERT_DIR="/etc/ssl/certs/"
|
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
|
# YTDL-SUB INSTALL
|
||||||
|
|
@ -80,7 +82,6 @@ RUN mkdir -p /config && \
|
||||||
ENV EDITOR="nano" \
|
ENV EDITOR="nano" \
|
||||||
HOME="/config" \
|
HOME="/config" \
|
||||||
DOCKER_MODS=linuxserver/mods:universal-stdout-logs|linuxserver/mods:universal-cron \
|
DOCKER_MODS=linuxserver/mods:universal-stdout-logs|linuxserver/mods:universal-cron \
|
||||||
DEFAULT_WORKSPACE=/config/ytdl-sub-configs \
|
|
||||||
CRON_SCRIPT="${DEFAULT_WORKSPACE}/cron" \
|
CRON_SCRIPT="${DEFAULT_WORKSPACE}/cron" \
|
||||||
CRON_WRAPPER_SCRIPT="/config/.cron_wrapper" \
|
CRON_WRAPPER_SCRIPT="/config/.cron_wrapper" \
|
||||||
LOGS_TO_STDOUT=/config/.cron.log \
|
LOGS_TO_STDOUT=/config/.cron.log \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue