Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Use a Java 17 base image
FROM bellsoft/liberica-openjdk-alpine:21

# Maintainer information
MAINTAINER emiralya8
ARG JAR_FILE=target/*.jar

# Copy the application JAR file to the container
COPY ${JAR_FILE} springConference.jar
# COPY springConference-0.0.1-SNAPSHOT.jar springConference.jar

# Set the entry point to run the JAR file
ENTRYPOINT ["java", "-jar", "/springConference.jar"]


#FROM openjdk:11-jre-slim
#ARG JAR_FILE=target/*.jar
#COPY ${JAR_FILE} app.jar
#ENTRYPOINT ["java","-jar","/app.jar"]
Loading