added dockerignore to reduce build context size

master
Edward Shen 2019-05-02 00:31:45 -04:00
parent 77f5f62f56
commit c4e8bc61b6
Signed by: edward
GPG Key ID: F350507060ED6C90
2 changed files with 2 additions and 2 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
target/

View File

@ -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