aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 3f331498c0d2737960d6d3ffaa50a2f7cd87ec5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM rust:1.58 as builder

WORKDIR /usr/src/rss-watcher
COPY . .

RUN cargo install --path .

#FROM debian:buster-slim
#RUN apt-get update \
#    && apt-get install -y libssl-dev libc-bin libc6 \
#    && rm -rf /var/lib/apt/lists/*
#COPY --from=builder /usr/local/cargo/bin/rss-watcher /usr/local/bin/rss-watcher
#ENV RUST_LOG=info

CMD ["rss-watcher"]