Download Dockerfile from Narra123/Java_app: direct link, hf CLI and curl.
- Browser
- Download file 133 Bytes
-
https://huggingface.co/spaces/Narra123/Java_app/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Narra123/Java_app/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Narra123/Java_app/resolve/main/Dockerfile
133 Bytes
| FROM openjdk:17 | |
| WORKDIR /app | |
| COPY . . | |
| RUN javac Main.java | |
| CMD ["java", "Main"] | |
| CMD ["sh", "-c", "java Main && tail -f /dev/null"] |