added dockerignore to reduce build context size
parent
77f5f62f56
commit
c4e8bc61b6
|
@ -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 New Issue