mirror of https://github.com/getmango/Mango.git
16 lines
370 B
Docker
16 lines
370 B
Docker
FROM crystallang/crystal:0.35.1-alpine AS builder
|
|
|
|
WORKDIR /Mango
|
|
|
|
COPY . .
|
|
RUN apk add --no-cache yarn yaml sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev
|
|
RUN make static || make static
|
|
|
|
FROM library/alpine
|
|
|
|
WORKDIR /
|
|
|
|
COPY --from=builder /Mango/mango .
|
|
|
|
CMD ["./mango"]
|