fix docker build
This commit is contained in:
parent
9f37657fa7
commit
bdae76d122
|
@ -427,7 +427,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "datatrash"
|
||||
version = "1.1.9"
|
||||
version = "1.2.0"
|
||||
dependencies = [
|
||||
"actix-files",
|
||||
"actix-governor",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue