We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3a8bb commit 8aab25aCopy full SHA for 8aab25a
.dockerignore
@@ -0,0 +1,16 @@
1
+ Maven output
2
+target
3
+
4
+# Git repo
5
+.git
6
+.gitignore
7
8
+# Maven wrapper config
9
+.mvn
10
+mvnw
11
+mvnw.cmd
12
13
+# IDE files (opcional, no afecta pero te ahorra basura)
14
+*.iml
15
+.idea
16
+.vscode
Dockerfile
@@ -0,0 +1,11 @@
+FROM maven:3.9.6-eclipse-temurin-21 AS build
+WORKDIR /app
+COPY pom.xml .
+COPY src ./src
+RUN mvn -B -DskipTests package
+FROM eclipse-temurin:21-jre
+COPY --from=build /app/target/*.jar app.jar
+EXPOSE 8080
+ENTRYPOINT ["java","-jar","app.jar"]
0 commit comments