This commit is contained in:
2025-11-08 13:42:43 +01:00
commit 7567d3eb05
125 changed files with 16866 additions and 0 deletions

14
api/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# Use an official OpenJDK runtime as a parent image
FROM openjdk:21-jdk-slim
# Set the working directory inside the container
WORKDIR /app
# Copy the application's JAR file into the container
COPY target/*.jar app.jar
# Expose the port your Spring Boot application runs on
EXPOSE 8080
# Run the JAR file
ENTRYPOINT ["java", "-jar", "app.jar"]