mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 08:54:35 +03:00
mox!
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
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"]
|
Reference in New Issue
Block a user