Skip to content
Snippets Groups Projects
Commit 1d572b7d authored by 한소진's avatar 한소진
Browse files

docker

parent 71680af5
No related branches found
No related tags found
No related merge requests found
FROM openjdk:18
ARG JAR_FILE=target/myweb*.jar
COPY ${JAR_FILE} app.jar
EXPOSE 80
CMD ["java", "-jar","/app.jar"]
server.port = 8088 server.port = 8098
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://210.107.196.163:44498/webdev?serverTimezone=UTC spring.datasource.url=jdbc:mysql://210.107.196.163:44498/webdev?serverTimezone=UTC
spring.datasource.username=root spring.datasource.username=root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment