diff --git a/Dockerfile b/Dockerfile index 5312eff..e5bd427 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,4 @@ COPY target/x86_64-unknown-linux-musl/release/vade /app/vade EXPOSE 8080 WORKDIR app RUN touch data.db -RUN ls -lh CMD ["./vade"] diff --git a/src/main.rs b/src/main.rs index f0f5b84..1dd2fea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,7 @@ async fn main() { .service(api::routes()) .service(dist) }) - .bind("127.0.0.1:8080") + .bind("0.0.0.0:8080") .unwrap() .run() .await