Commit 78bceebc authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Fix Dockerfile with new conf directory

parent 24f70946
......@@ -8,12 +8,12 @@ RUN mkdir /opt/sfl-boilerplate
COPY . /opt/sfl-boilerplate
# Setup ssh keys to clone git repo
RUN mv /opt/sfl-boilerplate/deploy/id_rsa* /root/.ssh/
RUN mv /opt/sfl-boilerplate/conf/id_rsa* /root/.ssh/
RUN cat /root/.ssh/ >> /root/.ssh/authorized_keys
RUN chmod 600 /root/.ssh/id_rsa*
RUN exec ssh-agent /bin/bash && ssh-add /root/.ssh/id_rsa
RUN ssh-keyscan >> /root/.ssh/known_hosts
#Copy vhost configuration and enable modules
RUN cp /opt/sfl-boilerplate/deploy/vhost.conf /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite vhost_alias
\ No newline at end of file
RUN cp /opt/sfl-boilerplate/conf/vhost.conf /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite vhost_alias
Subproject commit bcf26420e1c900a6ce09ecdaeb67e52bb7b4f70e
Subproject commit 3aa9fc8b29fbf09b2307fb35e8e1fe71ea253cb7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment