Dockerfile

This commit is contained in:
manalejandro 2018-07-17 00:08:29 +02:00
parent c7af93d069
commit 72c57f5d31
2 changed files with 2 additions and 2 deletions

View File

@ -11,5 +11,5 @@ RUN sed -i "s/#cluster.name: my-application/cluster.name: elasticsearch/" /etc/e
RUN git clone https://gitlab.com/manalejandro/arjion RUN git clone https://gitlab.com/manalejandro/arjion
RUN mvn clean install -f /arjion/pom.xml RUN mvn clean install -f /arjion/pom.xml
RUN echo "/etc/init.d/elasticsearch start && mvn spring-boot:run -f /arjion/pom.xml" > entrypoint.sh RUN echo "/etc/init.d/elasticsearch start && mvn spring-boot:run -f /arjion/pom.xml" > entrypoint.sh
EXPOSE 8080 EXPOSE 8080:8080
ENTRYPOINT ["bash", "entrypoint.sh"] ENTRYPOINT ["bash", "entrypoint.sh"]

View File

@ -7,7 +7,7 @@
## Docker image ## Docker image
$ docker build -t debian:arjion --rm https://gitlab.com/manalejandro/arjion/raw/master/Dockerfile $ docker build -t debian:arjion --rm https://gitlab.com/manalejandro/arjion/raw/master/Dockerfile
$ docker run -t debian:arjion $ docker run -ti debian:arjion
## License ## License