mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
fix server dev.
This commit is contained in:
+2
-2
@@ -9,10 +9,10 @@ GIT_COMMIT=`git rev-parse --short HEAD`
|
||||
GIT_BRANCH=`git rev-parse --symbolic-full-name --abbrev-ref HEAD`
|
||||
|
||||
echo "Building server image"
|
||||
docker build -t neko_server --build-arg "GIT_COMMIT=$GIT_COMMIT" --build-arg "GIT_BRANCH=$GIT_BRANCH" -f ../Dockerfile ..
|
||||
docker build -t neko_server:src -f ../Dockerfile ..
|
||||
|
||||
echo "Building base image"
|
||||
../../build -y -b neko_server -t base -f "$1"
|
||||
../../build -y -b neko_server:base -f "$1"
|
||||
|
||||
echo "Building app image"
|
||||
docker build -t neko_server:app --build-arg "BASE_IMAGE=neko_server:base" -f ./runtime/Dockerfile ./runtime
|
||||
|
||||
Reference in New Issue
Block a user