fix that fucking Dockerfile for good, thanks @dark

feature-admin-split
n1trux 5 years ago
parent dd5b4043be
commit 633bfbe5c5

@ -21,8 +21,15 @@ RUN useradd -Md /app/admin -s /app/admin/administrate.py admin
RUN mkdir -p /var/run/sshd RUN mkdir -p /var/run/sshd
# expose SSH port # expose SSH port
EXPOSE 22 EXPOSE 22
ENV TILDE_CONF="/app/data/applicationsconfig.ini" 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.sqlite
RUN touch /app/data/applications.log RUN touch /app/data/applications.log
# Doesnt work, @TODO why # Doesnt work, @TODO why

Loading…
Cancel
Save