From 2d0c71245d25397af8dc3cac8335a397485307b6 Mon Sep 17 00:00:00 2001 From: Younghwan Kim <88774925+royroyee@users.noreply.github.com> Date: Tue, 19 Sep 2023 09:42:28 +0900 Subject: [PATCH] Update Dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 106726b..368b705 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,14 +5,14 @@ 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 +# # 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 & +# # 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 +RUN gradle build -x test # Runtime stage FROM openjdk:17-jdk-slim