1
0
mirror of https://github.com/spikecodes/libreddit synced 2024-12-26 18:45:39 +01:00
libreddit/Dockerfile
2020-11-17 21:45:15 -08:00

9 lines
243 B
Docker

FROM rust:alpine as builder
WORKDIR /usr/src/libreddit
COPY . .
RUN apk add --no-cache g++ openssl-dev
RUN cargo install --path .
FROM alpine:latest
COPY --from=builder /usr/local/cargo/bin/libreddit /usr/local/bin/libreddit
CMD ["libreddit"]