wrapperr/Dockerfile
Aune 787b00aebc File restructure
Different components moved to packages which are imported. More proper and clean compared to previous implementation.
2022-11-29 12:43:01 +01:00

18 lines
No EOL
222 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 GOOS=linux GOARCH=amd64 go build
EXPOSE ${port}
ENTRYPOINT /app/wrapperr -port=${port}