summaryrefslogtreecommitdiffstats
path: root/ANR-App/Dockerfile
blob: 0a8c0566a3cf81e328cc76685aefbcbbce6c4f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM openjdk:16-jdk-alpine
RUN apk update
RUN apk add  vim
RUN apk add  curl
EXPOSE 9091
RUN mkdir -p /var/opt/ranapp/config
RUN chmod -R 777 /var/opt/ranapp
WORKDIR /var/opt/ranapp
ADD config/application.properties /var/opt/ranapp/config/application.properties
RUN chmod -R 777 /var/opt/ranapp/config/
COPY target/ranapp-0.0.1-SNAPSHOT.jar  /var/opt/ranapp/ranapp-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java","-jar","ranapp-0.0.1-SNAPSHOT.jar"]