mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-04 21:31:11 +00:00
8 lines
239 B
Docker
8 lines
239 B
Docker
# use the light wight jdk 17 base image
|
|
FROM eclipse-temurin:17-jdk-alpine
|
|
# Set working directory inside the container
|
|
|
|
WORKDIR /app
|
|
COPY target/spring-petclinic-4.0.0-SNAPSHOT.jar app.jar
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["java","-jar","app.jar"]
|