generated from kgu-clab/public-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
environment: Jenkinsfile, Dockerfile 수정
- Loading branch information
1 parent
70db63f
commit 3be03d5
Showing
3 changed files
with
483 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Use the official OpenJDK 21 image from the Docker Hub | ||
FROM openjdk:21-jdk | ||
|
||
# Expose port 8080 to the outside world | ||
EXPOSE 8080 | ||
|
||
# Copy the JAR file into the container | ||
COPY build/libs/time.jar /time.jar | ||
|
||
# Set the default active profile to 'stage'. Modify the 'spring.profiles.active' property to match your environment. | ||
# For example, use '-Dspring.profiles.active=production' for production environment. | ||
ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=prod", "/time.jar"] |
Oops, something went wrong.