mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +03:00
11 lines
197 B
Docker
11 lines
197 B
Docker
FROM golang:1-alpine AS build
|
|
WORKDIR /build
|
|
RUN apk add make
|
|
COPY . .
|
|
env GOPROXY=off
|
|
RUN make build
|
|
|
|
FROM alpine:3.17
|
|
WORKDIR /mox
|
|
COPY --from=build /build/mox /mox/mox
|
|
CMD ["/mox/mox", "serve"]
|