mirror of
https://git.sr.ht/~sircmpwn/tokidoki
synced 2025-12-12 06:07:22 +01:00
Add simple Containerfile
This commit is contained in:
parent
63f78d99e1
commit
8085f6878f
1 changed files with 8 additions and 0 deletions
8
Containerfile
Normal file
8
Containerfile
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
FROM golang:1.23-alpine AS builder
|
||||||
|
|
||||||
|
COPY / /src
|
||||||
|
RUN cd /src && go build ./cmd/tokidoki
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
COPY --from=builder /src/cmd/tokidoki/tokidoki /tokidoki
|
||||||
|
ENTRYPOINT ["/tokidoki"]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue