Spaces:
Sleeping
Sleeping
Download Dockerfile from artandscience/webbff-test: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/spaces/artandscience/webbff-test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/artandscience/webbff-test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/artandscience/webbff-test/resolve/main/Dockerfile
347 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 | |
| EXPOSE 9494 | |
| ENV JAVA_OPTS="" | |
| ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar app.jar"] |