Download Dockerfile from Prajith04/jotly: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/spaces/Prajith04/jotly/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Prajith04/jotly/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Prajith04/jotly/resolve/main/Dockerfile
327 Bytes
| # Use Java 24 base image (if not available, use Java 21 instead for now) | |
| FROM eclipse-temurin:24-jdk | |
| # Set working directory inside container | |
| WORKDIR /app | |
| # Copy JAR file into container | |
| COPY jotly-0.0.1-SNAPSHOT.jar app.jar | |
| # Expose default Spring Boot port | |
| EXPOSE 7860 | |
| # Run the JAR | |
| ENTRYPOINT ["java", "-jar", "app.jar"] | |