munera-vaadin/Dockerfile

13 lines
284 B
Text
Raw Normal View History

FROM openjdk:21-jdk-slim
2024-09-06 16:54:26 +00:00
# Set the working directory
WORKDIR /app
# Copy the JAR file into the container
COPY munera-1.0-SNAPSHOT.jar /app/munera-1.0-SNAPSHOT.jar
2024-09-06 16:54:26 +00:00
# Expose the port the app runs on
EXPOSE 8080
# Run the JAR file
CMD ["java", "-jar", "/app/munera-1.0-SNAPSHOT.jar"]