wrapperr/Dockerfile
2022-12-11 15:46:30 +01:00

18 lines
No EOL
198 B
Docker

FROM golang:1.19-alpine
ENV port=8282
RUN apk update
RUN apk add git
ENV GO111MODULE=on
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 go build
EXPOSE ${port}
ENTRYPOINT /app/wrapperr -port=${port}