added docker deployment and added a preview to the files.
This commit is contained in:
9
dockerfile
Normal file
9
dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
#fjet dockerfile
|
||||
FROM eclipse-temurin:17-jdk
|
||||
WORKDIR /app
|
||||
COPY pom.xml mvnw* .mvn/ ./
|
||||
COPY src ./src
|
||||
RUN ./mvnw clean package -DskipTests
|
||||
RUN cp target/*.jar fjet.jar
|
||||
EXPOSE 8080
|
||||
CMD ["java", "-jar", "fjet.jar"]
|
||||
Reference in New Issue
Block a user