Skip to content

Commit

Permalink
changing dockerfile to use graalvm
Browse files Browse the repository at this point in the history
  • Loading branch information
hlafaille committed Dec 20, 2024
1 parent 15d9f25 commit 46d3b5d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
FROM ubuntu:24.04
FROM ghcr.io/graalvm/jdk-community:21
ARG PROJECT_VERSION=0.0.0

# update, upgrade, install java
RUN apt-get update && apt-get upgrade -y
RUN apt-get install openjdk-21-jre-headless -y

# copy the app
RUN mkdir /app
COPY billtracker-backend-${PROJECT_VERSION}.jar /app/app.jar
Expand Down

0 comments on commit 46d3b5d

Please sign in to comment.