Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
royroyee authored Sep 19, 2023
1 parent f7be4b5 commit 2d0c712
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d0c712

Please sign in to comment.