diff options
author | Franck Cuny <franck@fcuny.net> | 2021-08-12 13:53:33 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-08-12 15:46:24 -0700 |
commit | aa80df2b26c7455007d3db96f01bfde66c6779df (patch) | |
tree | 00cc4724a8362d0edad8de1f13be408f1df17ba6 /tools/govanity/Dockerfile | |
parent | config: replace homelab with tools (diff) | |
download | world-aa80df2b26c7455007d3db96f01bfde66c6779df.tar.gz |
build: deploy to fly
Don't deploy to Google App anymore, but use fly.io instead. Add steps to the Makefile to build a docker image, and to deploy the application to fly.io.
Diffstat (limited to 'tools/govanity/Dockerfile')
-rw-r--r-- | tools/govanity/Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/govanity/Dockerfile b/tools/govanity/Dockerfile new file mode 100644 index 0000000..caca19a --- /dev/null +++ b/tools/govanity/Dockerfile @@ -0,0 +1,13 @@ +FROM golang:1.16-alpine + +WORKDIR /src + +ADD go.mod /src +ADD go.sum /src +RUN go mod download + +ADD . /src + +RUN go build -o app . + +ENTRYPOINT ["/src/app"] |