Add docker builder
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM eclipse-temurin:17-jdk-alpine
|
||||
LABEL authors="FatttSnake"
|
||||
|
||||
VOLUME /data
|
||||
|
||||
ARG DEPENDENCY=target/extracted
|
||||
COPY ${EXTRACTED}/dependencies/ /
|
||||
COPY ${EXTRACTED}/spring-boot-loader/ /
|
||||
COPY ${EXTRACTED}/snapshot-dependencies/ /
|
||||
COPY ${EXTRACTED}/application/ /
|
||||
|
||||
ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher", "${JAVA_OPTS}"]
|
||||
Reference in New Issue
Block a user