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

docker

parent 651261bd
#docker run -it --security-context -v $PWD:/var/www/ibrowser -v $PWD/data:/var/www/ibrowser/data -v $PWD/access.log:/var/log/apache2/access.log -v $PWD/error.log:/var/log/apache2/error.log sauloal/introgressionbrowser
#docker run -it --rm
# -v $PWD/data:/var/www/ibrowser/data
# -v $PWD/access.log:/var/log/apache2/access.log
# -v $PWD/error.log:/var/log/apache2/error.log
# sauloal/introgressionbrowser
#
#--security-context apparmor:unconfine
# --security-context
#
#docker build --rm -t sauloal/introgressionbrowser .
FROM sauloal/introgressionbrowser_runtime
......@@ -8,3 +15,8 @@ RUN cd /var/www && git clone https://github.com/sauloal/introgressionbrowser.git
WORKDIR /var/www/ibrowser
VOLUME /var/www/ibrowser/data
VOLUME /var/log/apache2/access.log
VOLUME /var/log/apache2/error.log
CMD /var/www/ibrowser/reloader.py /var/www/ibrowser/ibrowser.py /var/www/ibrowser/data
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