We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c734a3b commit 7d9fcbbCopy full SHA for 7d9fcbb
Dockerfile
@@ -0,0 +1,16 @@
1
+FROM docker.io/library/golang:1.23.3-alpine AS builder
2
+RUN mkdir /src
3
+WORKDIR /src
4
+
5
+COPY go.mod go.sum* ./
6
+RUN go mod download
7
+COPY . /src/
8
+ENV CGO_ENABLED=0
9
10
+RUN go build -o ./bin/server
11
12
+FROM alpine AS runtime
13
+LABEL org.opencontainers.image.source="https://github.com/database-playground/sqlrunner-v2"
14
15
+COPY --from=builder /src/bin/server /bin/server
16
+CMD ["/bin/server"]
zbpack.json
@@ -0,0 +1,3 @@
+{
+ "ignore_dockerfile": true
+}
0 commit comments