AI_prihars / Dockerfile
Harshil24's picture
Create Dockerfile
a96d5ea
raw
history blame contribute delete
273 Bytes
# Use a base image with a Java runtime (OpenJDK)
FROM openjdk:11
# Set the working directory in the container
WORKDIR /app
# Copy your Java JAR file into the container
#COPY your_java_program.jar /app/
# Set the command to run your Java program
CMD ["java", "-version"]