20251124炳辰版本
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
|
||||
COPY ./target/*.jar app.jar
|
||||
|
||||
RUN mkdir -p /usr/local/data
|
||||
|
||||
VOLUME ["/usr/local/data"]
|
||||
|
||||
ENTRYPOINT ["java","-jar","/app.jar", "--spring.profiles.active=docker", "--postgres.host=db", "--static.file.path=/usr/local/data", "--mybatis.configuration.log-impl=org.apache.ibatis.logging.nologging.NoLoggingImpl"]
|
||||
Reference in New Issue
Block a user