Browse Source

Update DOCKERFILE

删除重复的npm打包语句
pull/183/head
hotcoffie 3 years ago
committed by GitHub
parent
commit
5070a1fe8d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      DOCKERFILE

5
DOCKERFILE

@ -42,11 +42,6 @@ RUN npm install && \
cp /home/wvp-GB28181/src/main/resources/application-dev.yml /opt/wvp/config/application.yml && \ cp /home/wvp-GB28181/src/main/resources/application-dev.yml /opt/wvp/config/application.yml && \
cp /home/wvp-pro-assist/src/main/resources/application-dev.yml /opt/assist/config/application.yml cp /home/wvp-pro-assist/src/main/resources/application-dev.yml /opt/assist/config/application.yml
RUN npm install && \
npm run build && \
mkdir -p /opt/wvp/config && \
cp /home/wvp-GB28181/src/main/resources/application-dev.yml /opt/wvp/config/application.yml
# wvp打包 # wvp打包
WORKDIR /home/wvp-GB28181 WORKDIR /home/wvp-GB28181
RUN mvn compile && \ RUN mvn compile && \

Loading…
Cancel
Save