41 lines
1.0 KiB
Docker
41 lines
1.0 KiB
Docker
FROM nginx
|
|
|
|
MAINTAINER Thomas Wollmann <thomas.wollmann@bioquant.uni-heidelberg.de>
|
|
|
|
ENV CONDA /miniconda/
|
|
ENV PATH $CONDA/bin:$PATH
|
|
|
|
RUN apt-get update && apt-get install -y wget bzip2 npm nodejs-legacy && \
|
|
wget -q http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh && \
|
|
bash Miniconda2-latest-Linux-x86_64.sh -p /miniconda -b && \
|
|
rm Miniconda2-latest-Linux-x86_64.sh && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
apt-get purge -y wget && \
|
|
conda install paraview -c bioconda -c conda-forge -y && \
|
|
npm install -g pvw-visualizer
|
|
|
|
RUN echo $CONDA/lib/paraview-5.2/ > /etc/ld.so.conf.d/paraview.conf && \
|
|
ldconfig && \
|
|
mkdir /usr/local/opt/ && \
|
|
mkdir /Applications
|
|
|
|
ADD nginx.conf /etc/nginx/nginx.conf
|
|
|
|
WORKDIR /input
|
|
|
|
ENV DEBUG=false \
|
|
GALAXY_WEB_PORT=10000 \
|
|
NOTEBOOK_PASSWORD=none \
|
|
CORS_ORIGIN=none \
|
|
DOCKER_PORT=none \
|
|
API_KEY=none \
|
|
HISTORY_ID=none \
|
|
REMOTE_HOST=none \
|
|
GALAXY_URL=none
|
|
|
|
EXPOSE 8777
|
|
|
|
ADD startup.sh /
|
|
RUN chmod +x /startup.sh
|
|
CMD /startup.sh
|