v0
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM gradle:8.14.3-jdk21 AS build
|
||||
LABEL authors="DANIL_BODRY"
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN gradle clean build
|
||||
|
||||
FROM eclipse-temurin:21-jre
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/build/libs/*-fat.jar app.jar
|
||||
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
Reference in New Issue
Block a user