Skip to content

Commit

Permalink
完善docker构建
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgwr committed Nov 15, 2021
1 parent 3032171 commit 817a95f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions make_docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
rm -rf backend/src/main/resources/static
rm -rf frontend/dist
cd frontend && npm install && npm run build && mv dist ../../backend/src/main/resources/static
cd ../../backend && mvn clean package
cd ../../ && docker build -t waterknife/exam .
cd frontend && npm install && npm run build && mv dist ../backend/src/main/resources/static
cd ../backend && mvn clean package
cd ../ && docker build -t waterknife/exam .

0 comments on commit 817a95f

Please sign in to comment.