mirror of
https://github.com/aunefyren/wrapperr
synced 2024-12-13 21:02:28 +00:00
18 lines
222 B
Docker
18 lines
222 B
Docker
|
FROM golang:1.18-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}
|