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

View File

@ -5,6 +5,7 @@ services:
build:
context: ./
dockerfile: Dockerfile
target: STANDARD
entrypoint: /bin/sh -c './server --createDatabase=true'
ports:
- "8000:8000"