Answers for "spring boot docker"

1

spring boot docker

FROM java:8-jdk-alpine

COPY ./target/demo-docker-0.0.1-SNAPSHOT.jar /usr/app/

WORKDIR /usr/app

RUN sh -c 'touch demo-docker-0.0.1-SNAPSHOT.jar'

ENTRYPOINT ["java","-jar","demo-docker-0.0.1-SNAPSHOT.jar"]
Posted by: Guest on January-27-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language