wrapperr/Dockerfile
2023-02-13 09:14:32 +01:00

23 lines
312 B
Docker

FROM golang
ARG TARGETARCH
ARG TARGETOS
LABEL org.opencontainers.image.source=https://github.com/aunefyren/wrapperr
ENV port=8282
ENV GO111MODULE=on
ENV GOOS=${TARGETOS}
ENV GOARCH=${TARGETARCH}
WORKDIR /app
COPY . .
RUN go build
# CGO_ENABLED=0
EXPOSE ${port}
ENTRYPOINT /app/wrapperr -port=${port}