Fix Dockerfile
This commit is contained in:
parent
6feb347c27
commit
16454213cf
@ -1,9 +1,8 @@
|
|||||||
FROM rust:alpine as builder
|
FROM rust:latest
|
||||||
|
|
||||||
WORKDIR /usr/src/libreddit
|
WORKDIR /usr/src/libreddit
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk add --no-cache g++ openssl-dev
|
|
||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM alpine:latest
|
|
||||||
COPY --from=builder /usr/local/cargo/bin/libreddit /usr/local/bin/libreddit
|
|
||||||
CMD ["libreddit"]
|
CMD ["libreddit"]
|
Loading…
Reference in New Issue
Block a user