19 lines
524 B
Makefile
19 lines
524 B
Makefile
build: shard.yml $(wildcard src/**/*) $(runtimes/**/*)
|
|
shards build -d --error-trace
|
|
cat .rucksack >> bin/faaso
|
|
cat .rucksack >> bin/faaso-daemon
|
|
proxy: build
|
|
docker build . -t faaso-proxy
|
|
start-proxy:
|
|
docker run --name faaso-proxy-one \
|
|
--rm --network=faaso-net \
|
|
--env-file=proxy.env \
|
|
-e FAASO_SECRET_PATH=${PWD}/secrets \
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
-v ${PWD}/secrets:/home/app/secrets \
|
|
-v ${PWD}/config:/home/app/config \
|
|
-p 8888:8888 faaso-proxy
|
|
|
|
|
|
.PHONY: build proxy-image start-proxy
|