mirror of
https://github.com/aunefyren/wrapperr
synced 2025-01-10 08:38:43 +00:00
20 lines
No EOL
275 B
Docker
20 lines
No EOL
275 B
Docker
FROM golang:1.19-alpine
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/aunefyren/wrapperr
|
|
|
|
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} |