mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-12-21 06:51:19 +08:00
95aaaa5fa8
Signed-off-by: MiniDigger <admin@benndorf.dev>
13 lines
370 B
Docker
13 lines
370 B
Docker
FROM openjdk:17-jdk-alpine
|
|
|
|
WORKDIR hangar
|
|
|
|
ENV TERM xterm-256color
|
|
|
|
EXPOSE 8080
|
|
# "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" is for debug only
|
|
ENTRYPOINT ["java", "-XX:+ShowCodeDetailsInExceptionMessages", "-jar", "app.jar"]
|
|
|
|
ADD docker/deployment/hangar-backend/application.yml /hangar/application.yml
|
|
ADD target/hangar-*.jar /hangar/app.jar
|