fix music command and add dockerfile
This commit is contained in:
7 files changed
+104
-25
No files matched your search
+17
@@ -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"]
|
||||
Reference in New Issue
Block a user