mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
16 lines
402 B
Docker
16 lines
402 B
Docker
FROM crystallang/crystal:0.36.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 /usr/local/bin/mango
|
|
|
|
CMD ["/usr/local/bin/mango"]
|