openaire-search-api-v2/Dockerfile

13 lines
197 B
Docker
Raw Normal View History

FROM openjdk:21
WORKDIR /app
VOLUME /tmp
EXPOSE 8080
ARG JAR_FILE=target/openaire-rest-api-0.0.1-SNAPSHOT.jar
ADD ${JAR_FILE} entrypoint.jar
ENTRYPOINT ["java", "-jar", "/app/entrypoint.jar"]