Commit f7c297bd by huluobin

dockerfile 调整

parent f8db1d0b
...@@ -87,7 +87,6 @@ ...@@ -87,7 +87,6 @@
<artifactId>springfox-swagger2</artifactId> <artifactId>springfox-swagger2</artifactId>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/io.swagger/swagger-models -->
<dependency> <dependency>
<groupId>io.swagger</groupId> <groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId> <artifactId>swagger-models</artifactId>
......
FROM openjdk:8-jdk-alpine FROM openjdk:8-jdk-alpine
VOLUME /tmp VOLUME /tmp
ADD bailuntec-cost-core-1.0-SNAPSHOT.jar bailuntec-cost-core-1.0-SNAPSHOT.jar ADD cost-service-1.0-SNAPSHOT.jar cost-service-1.0-SNAPSHOT.jar
RUN echo "Asia/Shanghai" > /etc/timezone RUN echo "Asia/Shanghai" > /etc/timezone
ENTRYPOINT ["java","-Xms1G","-Xmx1G","-jar","-Dspring.profiles.active=test","/bailuntec-cost-core-1.0-SNAPSHOT.jar"] ENTRYPOINT ["java","-Xms1G","-Xmx1G","-jar","-Dspring.profiles.active=test","/bailuntec-cost-core-1.0-SNAPSHOT.jar"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment