mirror of https://github.com/getmango/Mango.git
17 lines
343 B
Docker
17 lines
343 B
Docker
FROM crystallang/crystal:0.34.0-alpine AS builder
|
|
|
|
WORKDIR /Mango
|
|
|
|
COPY . .
|
|
COPY package*.json .
|
|
RUN apk add --no-cache yarn yaml sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static \
|
|
&& make static
|
|
|
|
FROM library/alpine
|
|
|
|
WORKDIR /
|
|
|
|
COPY --from=builder /Mango/mango .
|
|
|
|
CMD ["./mango"]
|