This commit is contained in:
parent
a9fac69d92
commit
d72bcadf54
1 changed files with 8 additions and 0 deletions
8
Containerfile
Normal file
8
Containerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
FROM library/golang:1.21 AS build
|
||||||
|
ADD . /go/s3staticsite
|
||||||
|
WORKDIR /go/s3staticsite
|
||||||
|
RUN CGO_ENABLED=0 go build .
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
COPY --from=build /go/s3staticsite/s3staticsite /s3staticsite
|
||||||
|
ENTRYPOINT ["/s3staticsite"]
|
Loading…
Reference in a new issue