Files
weiyu/starter/Dockerfile
jack ning 17552bdf74 update
2024-11-25 11:41:47 +08:00

16 lines
522 B
Docker

# https://spring.io/guides/topicals/spring-boot-docker
# https://hub.docker.com/r/bytedesk/bytedesk
# https://hub.docker.com/_/eclipse-temurin
FROM eclipse-temurin:17-jdk
# FROM adoptopenjdk:17-jdk-hotspot
# maintainer
LABEL maintainer="270580156@qq.com"
# Set the working directory in the container
WORKDIR /app
# COPY target/*.jar bytedesk-starter.jar
COPY target/*.jar app.jar
# Expose the port your application listens on
EXPOSE 9003
# Specify the command to run your application
ENTRYPOINT ["java","-jar","app.jar"]