mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Update build.sh
This commit is contained in:
4
build.sh
4
build.sh
@ -11,10 +11,10 @@ cp ./fwatchdog ../sample-functions/catservice/
|
|||||||
|
|
||||||
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
|
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
|
||||||
-t alexellis2/faas-catservice .
|
-t alexellis2/faas-catservice .
|
||||||
docker service rm catservice ; docker service create --network=functions --name catservice alexellis2/faas-catservice
|
#docker service rm catservice ; docker service create --network=functions --name catservice alexellis2/faas-catservice
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd gateway
|
cd gateway
|
||||||
./build.sh
|
./build.sh
|
||||||
docker rm -f server; docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name server -p 8080:8080 --network=functions alexellis2/faas-gateway
|
# docker rm -f server; docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name server -p 8080:8080 --network=functions alexellis2/faas-gateway
|
||||||
|
Reference in New Issue
Block a user