Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
royroyee authored Sep 17, 2023
1 parent 82987b4 commit 9a69a30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9a69a30

Please sign in to comment.