Commit
+11 -0 +/-1 browse
1 | diff --git a/Containerfile b/Containerfile |
2 | new file mode 100644 |
3 | index 0000000..954e83f |
4 | --- /dev/null |
5 | +++ b/Containerfile |
6 | @@ -0,0 +1,11 @@ |
7 | + FROM docker.io/golang:alpine AS build |
8 | + |
9 | + COPY . /src |
10 | + |
11 | + RUN cd /src && go build -o chartsrv |
12 | + |
13 | + FROM docker.io/alpine:3 |
14 | + |
15 | + COPY --from=build /src/chartsrv /usr/bin/ |
16 | + |
17 | + CMD /usr/bin/chartsrv |