Skip to content

Commit

Permalink
feat: DockerFile simultaneous update
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsj4653 committed Jan 26, 2024
1 parent a0b0ac0 commit 514f151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM openjdk:17-jdk-slim-buster
WORKDIR /usr/app/backend
COPY build/libs/pointer-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app.jar"]
2 changes: 1 addition & 1 deletion src/main/java/gdsc/pointer/controller/TestController.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class TestController {
@RequestMapping("/")
public String test() {
log.info("test");
return "test";
return "This is a root path for SpringBoot Backend";
}

}

0 comments on commit 514f151

Please sign in to comment.