ci
This commit is contained in:
11
srv/Dockerfile
Normal file
11
srv/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM golang:1.23.9-alpine3.21 as builder
|
||||
|
||||
COPY ./ /go/src/25-bday-qt
|
||||
WORKDIR /go/src/25-bday-qt
|
||||
RUN cd ./srv; go build -o /go/bin/25-bday-qt
|
||||
|
||||
FROM alpine:3.18.4
|
||||
|
||||
COPY --from=builder /go/bin/25-bday-qt /bin/
|
||||
CMD []
|
||||
ENTRYPOINT ["/bin/25-bday-qt"]
|
||||
Reference in New Issue
Block a user