mirror of
https://github.com/Noratrieb/killua-bot.git
synced 2026-01-14 07:05:01 +01:00
Update Dockerfile
This commit is contained in:
parent
a00465ee89
commit
ac8203d29d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
FROM maven AS build
|
||||
FROM maven:3.8.6-eclipse-temurin-18 AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN mvn -f pom.xml clean assembly:assembly
|
||||
|
||||
FROM gcr.io/distroless/java17
|
||||
COPY --from=build /app/target/KilluaBot-1.0.0-jar-with-dependencies.jar /app/KilluaBot.jar
|
||||
ENTRYPOINT ["java", "-jar", "/app/KilluaBot.jar"]
|
||||
ENTRYPOINT ["java", "-jar", "/app/KilluaBot.jar"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue