From 4079166167e09db39e509d57af1b1424de4ce5a3 Mon Sep 17 00:00:00 2001 From: darksider3 Date: Sun, 6 Oct 2019 13:41:24 +0200 Subject: [PATCH] Respect $TILDE_CONF ENV in container build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6a204e0..ca241c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,6 @@ COPY private/ /app/admin/ # user accessible scripts # Make TILDE_ENV -COPY config/environment /app/user/.ssh/environment COPY public/ /app/user/ #SSH config into /etc :) COPY config/etc /etc @@ -39,6 +38,8 @@ RUN mkdir -p /var/run/sshd # expose SSH port EXPOSE 22 ENV TILDE_CONF="/app/data/applicationsconfig.ini" +#COPY config/environment /app/user/.ssh/environment +RUN echo TILDE_CONF=$TILDE_CONF > /app/user/.ssh/environment RUN touch /app/data/applications.sqlite RUN touch /app/data/applications.log # Doesnt work, @TODO why