-
-
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.
* feat: Add Docker-in-Docker feature to devcontainer.json * Dockerfile * Attemp to CICD for Docker push * Moving Dockerfile * Test debug build fail * Test debug build fail * Test debug build fail * Test debug build fail * Test debug build fail * Fix Docker pipeline * Fix Docker pipeline * Update documentation about Docker Launch * Test Docker Image tag version * Test Docker Image tag version * Test Docker Image tag version * Test Docker Image tag version
- Loading branch information
1 parent
07484e1
commit b8da173
Showing
6 changed files
with
59 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM mcr.microsoft.com/openjdk/jdk:17-ubuntu | ||
LABEL org.opencontainers.image.source="https://github.com/dRAGon-Okinawa/dRAGon" | ||
|
||
EXPOSE 1985 | ||
EXPOSE 1984 | ||
|
||
RUN mkdir /data | ||
RUN chown app:app /data | ||
COPY backend/build/libs/backend*.jar /dragon.jar | ||
|
||
USER app | ||
ENTRYPOINT ["java","-Xmx512m", "-XX:+CrashOnOutOfMemoryError","-jar","-Dspring.profiles.active=prod","/dragon.jar"] |
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