added dockerignore to reduce build context size
This commit is contained in:
parent
77f5f62f56
commit
c4e8bc61b6
2 changed files with 2 additions and 2 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
@ -0,0 +1 @@
|
|||
target/
|
|
@ -9,10 +9,9 @@ COPY Cargo.toml /app
|
|||
|
||||
RUN cargo build --release
|
||||
|
||||
ADD . .
|
||||
COPY src/ src/
|
||||
RUN cargo build --release
|
||||
|
||||
|
||||
FROM debian:stable-slim
|
||||
|
||||
RUN apt update && apt upgrade -y && apt install -y libssl1.1 ca-certificates
|
||||
|
|
Loading…
Reference in a new issue