phundrak.com/Dockerfile

13 lines
197 B
Docker
Raw Normal View History

FROM rust:alpine
WORKDIR /app
COPY Cargo.toml /app/Cargo.toml
COPY Cargo.lock /app/Cargo.lock
COPY src /app/src
RUN cargo build --release
RUN cargo install --path .
ENTRYPOINT [ "phuncache" ]