14 lines
189 B
Docker
14 lines
189 B
Docker
FROM golang as gobuild
|
|
|
|
ADD . /build
|
|
WORKDIR /build
|
|
RUN go build main.go
|
|
|
|
FROM gcr.io/distroless/base-debian10
|
|
|
|
COPY --from=gobuild /build/main /s3-proxy
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD [ "/s3-proxy" ]
|