aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorhovertank3d <[email protected]>2025-05-24 10:58:06 +0000
committerhovertank3d <[email protected]>2025-05-24 10:58:06 +0000
commit588cedf699de1eda2c476133193cc2bb1e9d5dbc (patch)
tree6c4354fb2d38e6e80262351788cef02a3685cc58 /Dockerfile
parent1a5a86a5d4557200db20e20206bcdd7b9b2a7e55 (diff)
downloadlzcnt.space-588cedf699de1eda2c476133193cc2bb1e9d5dbc.tar.xz
lzcnt.space-588cedf699de1eda2c476133193cc2bb1e9d5dbc.zip
update about and link to the source code
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..c6c0b2e
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+FROM golang:1.23
+
+WORKDIR /app
+COPY go.mod .
+
+RUN go mod download
+
+COPY . .
+
+RUN GOOS=linux go build -o /lzcnt ./cmd
+
+CMD ["/lzcnt"]