Commit f1ef318a by Gil Sade

added docker file

parent e3e6bf03
Pipeline #8 skipped in 0 seconds
Showing with 18 additions and 0 deletions
FROM drissamri/java:jre8
RUN mkdir -p /opt/mcx/config/LocationService
RUN mkdir -p /logs/conf
COPY build/libs/LocationService-*.jar /usr/
COPY cfg/config.properties /opt/mcx/config/LocationService/
COPY cfg/log4j.xml /logs/conf/
COPY script/run.sh /usr/
RUN chmod +x /usr/run.sh
RUN mv /usr/LocationService-*.jar /usr/LocationService.jar
WORKDIR /usr
EXPOSE 9090
ENTRYPOINT ["/usr/run.sh"]
\ No newline at end of file
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 sign in to comment