refactor: 修改dockerfile
This commit is contained in:
parent
56c951d9f3
commit
7ad79057ac
|
@ -1,7 +1,7 @@
|
||||||
FROM openjdk:8-jdk-alpine as build
|
FROM openjdk:8-jdk-alpine as build
|
||||||
WORKDIR /workspace/app
|
WORKDIR /workspace/app
|
||||||
|
|
||||||
COPY backend/target/backend-1.9.jar .
|
COPY backend/target/*.jar .
|
||||||
|
|
||||||
RUN mkdir -p dependency && (cd dependency; jar -xf ../*.jar)
|
RUN mkdir -p dependency && (cd dependency; jar -xf ../*.jar)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue