ts-docker-proxy/Dockerfile

10 lines
184 B
Docker
Raw Permalink Normal View History

2024-08-13 21:00:58 +00:00
FROM golang:1.23
2023-07-09 00:23:29 +00:00
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"]