fix music command and add dockerfile

This commit is contained in:
2024-08-29 14:36:06 +08:00
parent cd9da50288
commit e48f899f9e
7 files changed
+104 -25

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
FROM gradle:8.9-jdk17 AS builder
WORKDIR /app
COPY . .
RUN gradle build --no-daemon
FROM openjdk:17-jdk-slim
WORKDIR /app
COPY --from=builder /app/build/libs/*.jar /app/app.jar
EXPOSE 8000
CMD ["java", "-jar", "/app/app.jar"]