From bdae76d122544ce72fb51a2bee0540ad3d597dca Mon Sep 17 00:00:00 2001 From: neri Date: Fri, 7 Oct 2022 16:09:45 +0200 Subject: [PATCH] fix docker build --- Cargo.lock | 2 +- Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 0084d37..f3d120d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -427,7 +427,7 @@ dependencies = [ [[package]] name = "datatrash" -version = "1.1.9" +version = "1.2.0" dependencies = [ "actix-files", "actix-governor", diff --git a/Dockerfile b/Dockerfile index a72ed31..db44b40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ COPY static ./static COPY template ./template COPY snippet ./snippet COPY init-db.sql ./init-db.sql +COPY mime.types ./mime.types RUN touch src/main.rs RUN cargo build --release --target=x86_64-unknown-linux-musl RUN strip /app/target/x86_64-unknown-linux-musl/release/datatrash