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:
parent
73d18ce2cd
commit
35a459bd3f
@ -0,0 +1,2 @@
|
||||
./app/target/
|
||||
./logs/
|
@ -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 && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user