fix: some minor bugs and make Dockerfile more productive. (#831)

* fix: some minor bugs and make Dockerfile more productive.

* fix: make GitHub CI configuration support build image with STANDARD target.

* fix: Naming the base stage in multi-stage builds with lowercase letters to support various operating systems.

* fix: copy swagger to the image as well.
This commit is contained in:
Atom Pi
2022-06-29 23:21:18 +08:00
committed by GitHub
parent fe0ab0aa6f
commit cd902a21ba
6 changed files with 47 additions and 28 deletions

7
docker-entrypoint.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
service mariadb start
mysqladmin -u root password ${MYSQL_ROOT_PASSWORD}
exec /app/server --createDatabase=true