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