13 lines
197 B
Docker
13 lines
197 B
Docker
|
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"]
|