Commit 0269d6b8 authored by bow's avatar bow
Browse files

Remove docker files

parent a4c98b5b
# Docker image for sentinel development.
#
# https://github.com/LUMC/sentinel
FROM lumc/base-java-python
MAINTAINER Wibowo Arindrarto <w.arindrarto@lumc.nl>
# MongoDB shell is installed so we can reset the database everytime the dev server starts
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 \
&& echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list \
&& apt-get update \
&& apt-get install -y mongodb-org-shell
ADD . /sentinel
WORKDIR /sentinel
RUN pip install -r requirements-dev.txt \
&& ./sbt update
web:
build: .
ports:
- "8080:8080"
volumes:
- .:/sentinel
working_dir: /sentinel
command: >
/bin/bash -c
"./sbt assembly
&& MONGO_HOST=${DB_PORT_27017_TCP_ADDR} /bin/bash /sentinel/scripts/bootstrap_dev.sh
&& java -jar -Dmongodb.host=${DB_PORT_27017_TCP_ADDR} target/scala-2.11/Sentinel*.jar"
links:
- db
db:
image: mongo:3.0.4
command: mongod --smallfiles
Markdown is supported
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