From 8bc086a524075c1874c18aa7d933c1ae1710c0c7 Mon Sep 17 00:00:00 2001 From: neri Date: Fri, 7 Oct 2022 15:52:26 +0200 Subject: [PATCH] version 1.2.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- Dockerfile | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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/Cargo.toml b/Cargo.toml index 91eef87..df113b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "datatrash" -version = "1.1.9" +version = "1.2.0" authors = ["neri"] edition = "2021" 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