Skip to content

Commit

Permalink
[fix] 메서드 변경사항 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
dolong2 committed Dec 19, 2023
1 parent 6e923b4 commit c656328
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CreateDockerFileServiceImpl(
val name = application.name
try {
val file = File("./$name/Dockerfile")
file.writeText(FileContent.getSpringBootDockerFileContent(name, javaVersion))
file.writeText(FileContent.getSpringBootDockerFileContent(name, javaVersion, application.port))
if (!file.createNewFile())
return
} catch (e: IOException) {
Expand All @@ -37,7 +37,7 @@ class CreateDockerFileServiceImpl(
ApplicationType.SPRING_BOOT -> {
val name = application.name
val file = File("./$name/Dockerfile")
file.writeText(FileContent.getSpringBootDockerFileContent(name, javaVersion))
file.writeText(FileContent.getSpringBootDockerFileContent(name, javaVersion, application.port))
try {
if (!file.createNewFile())
return
Expand Down

0 comments on commit c656328

Please sign in to comment.