Commit
Author: Kevin Schoon [me@kevinschoon.com]
Hash: 9bdbc27cad504be497dd2a082ecf32c18834bdcd
Timestamp: Sat, 24 Aug 2024 15:05:20 +0000 (3 months ago)

+11 -0 +/-1 browse
Add a simple Containerfile
1diff --git a/Containerfile b/Containerfile
2new file mode 100644
3index 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