Spaces:
Sleeping
Sleeping
# 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"] | |