-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thống ĐẶNG HOÀNG
committed
Nov 24, 2024
1 parent
8eb79b0
commit 4f03b56
Showing
3 changed files
with
9 additions
and
19 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
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 |
---|---|---|
@@ -1,15 +1,3 @@ | ||
FROM eclipse-temurin:21-jdk-alpine | ||
FROM eclipse-temurin:21.0.2_13-jdk-alpine | ||
COPY target/*.jar app.jar | ||
ARG DB_HOST | ||
ARG DB_PORT | ||
ARG DB_NAME | ||
ARG DB_SCHEMA | ||
ARG POSTGRES_USER | ||
ARG POSTGRES_PASSWORD | ||
ENV DB_HOST=$DB_HOST | ||
ENV DB_PORT=$DB_PORT | ||
ENV DB_NAME=$DB_NAME | ||
ENV DB_SCHEMA=$DB_SCHEMA | ||
ENV POSTGRES_USER=$POSTGRES_USER | ||
ENV POSTGRES_PASSWORD=$POSTGRES_PASSWORD | ||
ENTRYPOINT ["java", "-jar", "/app.jar"] |