Archived
1
This repository has been archived on 2024-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
ProxyExposer/Dockerfile
Jan-Lukas Else cdc62c50c5
All checks were successful
continuous-integration/drone/push Build is passing
Initial version
2021-10-30 10:54:41 +02:00

9 lines
211 B
Docker

FROM golang:1.17-alpine3.14 as build
WORKDIR /app
ADD *.go go.mod /app/
RUN go build -ldflags '-w -s' -o proxyexposer
FROM alpine:3.14
WORKDIR /app
CMD ["proxyexposer"]
COPY --from=build /app/proxyexposer /bin/