vnetod/Dockerfile

17 lines
224 B
Text
Raw Normal View History

FROM rust:1.62.0-slim-buster
WORKDIR /app
COPY Cargo.* ./
COPY ./src ./src
RUN cargo install --bin vnetod --path . \
&& rm -rf ./src Cargo.*
VOLUME ["/data"]
WORKDIR /data
ENTRYPOINT ["/usr/local/cargo/bin/vnetod"]