[feat] add docker file
This commit is contained in:
parent
80cad2886c
commit
a5473f6436
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
/target
|
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM rust:1 as builder
|
||||
COPY . .
|
||||
RUN cargo install --path .
|
||||
|
||||
FROM debian:buster-slim
|
||||
RUN apt-get update && apt-get install -y libssl-dev ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=builder /usr/local/cargo/bin/registry-cleaner /usr/bin/registry-cleaner
|
||||
|
Loading…
Reference in New Issue
Block a user