This commit is contained in:
sidibe
2025-11-19 12:20:37 +00:00
commit 1972c8ff90
86 changed files with 3373 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
# Step 1: Use an official OpenJDK base image from Docker Hub
FROM eclipse-temurin:17-jdk
# Step 2: Set the working directory inside the container
WORKDIR /app
# Step 3: Copy the Spring Boot JAR file into the container
COPY build/libs/bet-engine-0.0.1-SNAPSHOT.jar /app/app.jar
# Step 4: Expose the port your application runs on
EXPOSE 8080
# Step 5: Define the command to run your Spring Boot application
CMD ["java", "-jar", "/app/app.jar"]