Commit 73bb4780 authored by Aflitos, Saulo Alves's avatar Aflitos, Saulo Alves
Browse files

fixed apache static; fixed virtualbox restart script

parent 540dc1e3
......@@ -2,19 +2,12 @@
#--security-context apparmor:unconfine
#docker build --rm -t sauloal/introgressionbrowser_apache_static .
FROM sauloal/introgressionbrowser_runtime
ENV DEBIAN_FRONTEND noninteractive
FROM sauloal/introgressionbrowser
RUN mkdir -p /etc/apache2/mods-available/ && \
mkdir -p /var/www/ibrowser && \
ln -s /var/www/ibrowser/static/ /var/www/html/static
ln -s /var/www/ibrowser/static/ /var/www/html/static && \
ln -s /var/www/ibrowser/ibrowser.conf /etc/apache2/mods-enabled/ibrowser.conf
# sed -ie "s/Listen 80/Listen 8000/" /etc/apache2/ports.conf && \
ADD ibrowser.conf /etc/apache2/mods-enabled/ibrowser.conf
WORKDIR /var/www/ibrowser
VOLUME [ "/var/www/ibrowser" ]
VOLUME [ "/var/www/ibrowser/data" ]
......@@ -2,5 +2,5 @@ echo "KILLING"
pgrep -f ibrowser.py | xargs kill
echo "CALLING"
RFOLDER=/home/ibrowser/introgressionbrowser
$RFOLDER/ibrowser.py $RFOLDER/data &
$RFOLDER/reloader.py $RFOLDER/ibrowser.py $RFOLDER/data &
echo "CALLED"
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