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.
Browse files
Browse the repository at this point in the history
environment: CI/CD 자동화 설정 완료
- Loading branch information
Showing
7 changed files
with
993 additions
and
13 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
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.