From 633bfbe5c5e1293930e2b1559f400eb00fd427bc Mon Sep 17 00:00:00 2001 From: n1trux Date: Sat, 22 Feb 2020 14:30:42 +0100 Subject: [PATCH] fix that fucking Dockerfile for good, thanks @dark --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5fbc70c..3fb2f22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,15 @@ RUN useradd -Md /app/admin -s /app/admin/administrate.py admin RUN mkdir -p /var/run/sshd # expose SSH port EXPOSE 22 - ENV TILDE_CONF="/app/data/applicationsconfig.ini" +RUN mkdir -p /app/data + +# private/{scripts, administrate.py}, public/{scripts, userapplications.py}, config/userapplicatonsconfig.ini +#configs, logs, db +COPY config/applicationsconfig.ini /app/data/applicationsconfig.ini +#SSH config into /etc :) +COPY config/etc /etc + RUN touch /app/data/applications.sqlite RUN touch /app/data/applications.log # Doesnt work, @TODO why