add Containerfile
Some checks failed
/ build-container (push) Failing after 1m46s

This commit is contained in:
Finn 2024-03-25 23:26:26 -07:00
parent a9fac69d92
commit d72bcadf54

8
Containerfile Normal file
View 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"]