Dockerfile
This commit is contained in:
parent
c7af93d069
commit
72c57f5d31
@ -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"]
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user