1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

#91 fix docker build err

This commit is contained in:
Hai Liang Wang 2018-10-01 15:06:41 +08:00
parent 73d18ce2cd
commit 35a459bd3f
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
./app/target/
./logs/

View File

@ -26,6 +26,7 @@ RUN /bin/bash -c "mkdir -p /{data,logs}"
# build WAR
COPY _m2/settings.xml /root/.m2/settings.xml
COPY app /app
COPY config /config
WORKDIR /app
RUN mvn clean package && \
rm -rf /opt/apache-tomcat/webapps/ROOT && \