mirror of
https://github.com/Noratrieb/killua-bot.git
synced 2026-01-14 15:15:01 +01:00
recover from missing tty
This commit is contained in:
parent
f0c8af29a3
commit
789064d2d5
4 changed files with 44 additions and 29 deletions
|
|
@ -1,7 +1,8 @@
|
|||
FROM maven AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN maven -f pom.xml clean package
|
||||
RUN mvn -f pom.xml clean assembly:assembly
|
||||
|
||||
FROM openjdk:18-jre-slim
|
||||
COPY --from=build /app/target/1.0.0
|
||||
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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue