ts-docker-proxy/Dockerfile
2024-03-03 21:01:08 -05:00

10 lines
184 B
Docker

FROM golang:1.22
WORKDIR /src
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v .
FROM scratch
COPY --from=0 /src/ts-docker-proxy ./
ENV HOME=/
CMD ["/ts-docker-proxy"]