Update db Dockerfile
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
rm -rf dockerfile/db/sql
|
||||||
|
rm -rf dockerfile/zlt-uaa/*.jar
|
||||||
|
rm -rf dockerfile/user-center/*.jar
|
||||||
|
rm -rf dockerfile/zlt-web/static
|
||||||
|
rm -rf dockerfile/zuul-gateway/*.jar
|
||||||
|
|
||||||
|
cp -avf zlt-doc/sql dockerfile/db/
|
||||||
|
cp -avf zlt-uaa/target/zlt-uaa.jar dockerfile/zlt-uaa/
|
||||||
|
cp -avf zlt-business/user-center/target/user-center.jar dockerfile/user-center
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
FROM mysql:8.0.25
|
|
||||||
|
|
||||||
LABEL MAINTAINER=Andy
|
|
||||||
|
|
||||||
COPY ../../zlt-doc/sql/*.sql /docker-entrypoint-initdb.d/
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
FROM mysql:8.0.25
|
||||||
|
|
||||||
|
LABEL MAINTAINER=Andy
|
||||||
|
|
||||||
|
COPY sql/*.sql /docker-entrypoint-initdb.d/
|
||||||
Reference in New Issue
Block a user