From 9a69a30499f02c62e49494c3129016ef02e7ca5e Mon Sep 17 00:00:00 2001 From: Younghwan Kim <88774925+royroyee@users.noreply.github.com> Date: Sun, 17 Sep 2023 09:39:19 +0900 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index c244d34..106726b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,12 @@ WORKDIR /workspace # Copy all necessary files COPY . . +# Install H2 Database +RUN wget https://repo1.maven.org/maven2/com/h2database/h2/1.4.200/h2-1.4.200.jar + +# Start H2 Database in the background +RUN java -cp h2-1.4.200.jar org.h2.tools.Server -web -webAllowOthers -tcp -tcpAllowOthers & + # Build the project RUN gradle build