version 1.2.0

This commit is contained in:
neri 2022-10-07 15:52:26 +02:00
parent 171bfc98a9
commit 8bc086a524
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View File

@ -427,7 +427,7 @@ dependencies = [
[[package]] [[package]]
name = "datatrash" name = "datatrash"
version = "1.1.9" version = "1.2.0"
dependencies = [ dependencies = [
"actix-files", "actix-files",
"actix-governor", "actix-governor",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "datatrash" name = "datatrash"
version = "1.1.9" version = "1.2.0"
authors = ["neri"] authors = ["neri"]
edition = "2021" edition = "2021"

View File

@ -12,6 +12,7 @@ COPY static ./static
COPY template ./template COPY template ./template
COPY snippet ./snippet COPY snippet ./snippet
COPY init-db.sql ./init-db.sql COPY init-db.sql ./init-db.sql
COPY mime.types ./mime.types
RUN touch src/main.rs RUN touch src/main.rs
RUN cargo build --release --target=x86_64-unknown-linux-musl RUN cargo build --release --target=x86_64-unknown-linux-musl
RUN strip /app/target/x86_64-unknown-linux-musl/release/datatrash RUN strip /app/target/x86_64-unknown-linux-musl/release/datatrash