mox/Dockerfile

12 lines
197 B
Text
Raw Normal View History

2023-01-30 16:27:06 +03:00
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"]