Browse Source

fix that fucking Dockerfile for good, thanks @dark

master
n1trux 2 years ago
parent
commit
633bfbe5c5
  1. 9
      Dockerfile

9
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

Loading…
Cancel
Save