Spaces:
Sleeping
Sleeping
Download Dockerfile from artandscience/utility-comon-test: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/spaces/artandscience/utility-comon-test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/artandscience/utility-comon-test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/artandscience/utility-comon-test/resolve/main/Dockerfile
384 Bytes
| FROM eclipse-temurin:17-jdk-jammy AS build | |
| WORKDIR /app | |
| COPY mvnw . | |
| COPY .mvn .mvn | |
| COPY pom.xml . | |
| COPY src src | |
| RUN chmod +x mvnw && ./mvnw -q -DskipTests package | |
| FROM eclipse-temurin:17-jre-jammy | |
| WORKDIR /app | |
| COPY --from=build /app/target/*.jar app.jar | |
| COPY entrypoint.sh entrypoint.sh | |
| RUN chmod +x entrypoint.sh | |
| EXPOSE 9797 | |
| ENV JAVA_OPTS="" | |
| ENTRYPOINT ["./entrypoint.sh"] |