mirror of
https://github.com/spikecodes/libreddit.git
synced 2026-01-23 21:14:07 +01:00
Fix Dockerfile
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
FROM rust:alpine as builder
|
||||
FROM rust:latest
|
||||
|
||||
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"]
|
||||
CMD ["libreddit"]
|
||||
|
||||
Reference in New Issue
Block a user