diff --git a/Cargo.lock b/Cargo.lock index 500e048..c8f3e17 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -995,7 +995,7 @@ dependencies = [ [[package]] name = "pict-rs" -version = "0.3.0-alpha.18" +version = "0.3.0-alpha.19" dependencies = [ "actix-form-data", "actix-fs", @@ -1495,18 +1495,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1c319f97498ee34e17e1d7813fcd28a0ec1aaf350a4c44883d2fe741edb1c70" +checksum = "283d5230e63df9608ac7d9691adc1dfb6e701225436eb64d0b9a7f0a5a04f6ec" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf955fbafde33573fd32e90312488fa2ea68f7a220a5faab1809fa90690224f" +checksum = "fa3884228611f5cd3608e2d409bf7dce832e4eb3135e3f11addbd7e41bd68e71" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index a14d72c..0b6bc65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pict-rs" description = "A simple image hosting service" -version = "0.3.0-alpha.18" +version = "0.3.0-alpha.19" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml index cc37427..98feea6 100644 --- a/docker/dev/docker-compose.yml +++ b/docker/dev/docker-compose.yml @@ -8,8 +8,6 @@ services: args: UID: "${USER_ID:-1000}" GID: "${GROUP_ID:-1000}" - ports: - - "8080:8080" stdin_open: true tty: true environment: @@ -25,8 +23,6 @@ services: args: UID: "${USER_ID:-1000}" GID: "${GROUP_ID:-1000}" - ports: - - "8080:8080" stdin_open: true tty: true environment: @@ -42,8 +38,6 @@ services: args: UID: "${USER_ID:-1000}" GID: "${GROUP_ID:-1000}" - ports: - - "8080:8080" stdin_open: true tty: true environment: diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index f16fecd..d248674 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: pictrs: - image: asonix/pictrs:v0.3.0-alpha.18 + image: asonix/pictrs:v0.3.0-alpha.19 ports: - "127.0.0.1:8080:8080" restart: always diff --git a/src/magick.rs b/src/magick.rs index 5c12351..c3a4baa 100644 --- a/src/magick.rs +++ b/src/magick.rs @@ -184,7 +184,7 @@ where .arg(&"convert") .arg(&input.as_ref()) .args(args) - .arg(&output.as_ref()) + .arg(output_file) .spawn()? .wait() .await?;