mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
added docker stage
This commit is contained in:
parent
7c32ba877c
commit
61f520b8cb
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ COPY target/spring-petclinic-3.3.0-SNAPSHOT.jar .
|
|||
|
||||
|
||||
# Expose the port your application runs on
|
||||
EXPOSE 8000
|
||||
EXPOSE 80
|
||||
|
||||
# Set the entry point to run the JAR file
|
||||
ENTRYPOINT ["java", "-jar", "spring-petclinic-3.3.0-SNAPSHOT.jar"]
|
|
@ -24,4 +24,4 @@ logging.level.org.springframework=INFO
|
|||
# Maximum time static resources should be cached
|
||||
spring.web.resources.cache.cachecontrol.max-age=12h
|
||||
|
||||
server.port=8000
|
||||
server.port=80
|
Loading…
Reference in a new issue