Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM openjdk:8-jdk-alpine
- VOLUME /tmp
- ARG DEPENDENCY=target/dependency
- COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib
- COPY ${DEPENDENCY}/META-INF /app/META-INF
- COPY ${DEPENDENCY}/BOOT-INF/classes /app
- ENTRYPOINT ["java","-Dspring.profiles.active=dev","-cp","app:app/lib/*","com.my.Application"]
- containers:
- - name: myapp
- image: myregistry.azurecr.io/myapp:0.1.7
- imagePullPolicy: "Always"
- ports:
- - containerPort: 8080
- name: myapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement