project of gitlab-runner gateway
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
422B

  1. FROM oracle/graalvm-ce:20.1.0-java11 as builder
  2. WORKDIR /build
  3. VOLUME /build
  4. # Install GraalVM Native Image
  5. RUN gu install native-image; \
  6. native-image --version
  7. ENV RUN_PORT 8080
  8. RUN mkdir -p /build/src/main/resources/META-INF
  9. CMD java -agentlib:native-image-agent=config-output-dir=/build/src/main/resources/META-INF/native-image \
  10. -jar /build/target/wikiProject-1.0-SNAPSHOT.jar --server.port=$ENV_PORT