Dockerfile 412 Bytes
Newer Older
Zied SELLAMI's avatar
Zied SELLAMI committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
FROM maven:3.5.4

## ensure locale is set during build
ENV LANG            C.UTF-8

WORKDIR /

RUN git clone https://ci.linagora.com/zsellami/priority-inbox.git

WORKDIR priority-inbox/priorityInbox/

RUN mvn install -Dmaven.test.skip=true

RUN mkdir tmp

WORKDIR /

EXPOSE 9991

CMD  java -jar -Xmx4G -Xms4G /priority-inbox/priorityInbox/target/priorityInbox-1.0.jar /priority-inbox/priorityInbox/CONFIG_Docker