2024-05-15 12:09:01 +08:00
|
|
|
# https://spring.io/guides/topicals/spring-boot-docker
|
2024-12-12 11:04:52 +08:00
|
|
|
# https://hub.docker.com/r/jackning/bytedesk
|
|
|
|
|
# maven
|
2025-01-12 13:12:42 +08:00
|
|
|
# https://hub.docker.com/_/eclipse-temurin
|
2025-08-06 15:45:05 +08:00
|
|
|
FROM eclipse-temurin:17-jdk
|
|
|
|
|
# 华为毕昇SDK https://hub.docker.com/r/openeuler/bisheng-jdk/tags?name=17
|
|
|
|
|
# FROM openeuler/bisheng-jdk:17.0.10-oe2203sp3
|
2024-10-28 07:52:17 +08:00
|
|
|
# maintainer
|
|
|
|
|
LABEL maintainer="270580156@qq.com"
|
2024-08-28 09:32:44 +08:00
|
|
|
# Set the working directory in the container
|
2024-10-28 07:52:17 +08:00
|
|
|
WORKDIR /app
|
|
|
|
|
# COPY target/*.jar bytedesk-starter.jar
|
2024-08-28 09:32:44 +08:00
|
|
|
COPY target/*.jar app.jar
|
2024-10-28 07:52:17 +08:00
|
|
|
# Expose the port your application listens on
|
2024-11-25 10:37:44 +08:00
|
|
|
EXPOSE 9003
|
2024-08-28 09:32:44 +08:00
|
|
|
# Specify the command to run your application
|
2024-10-28 07:52:17 +08:00
|
|
|
ENTRYPOINT ["java","-jar","app.jar"]
|