diff --git a/compose.yaml b/compose.yaml index 00991fa..03616b9 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,14 +5,14 @@ services: dockerfile: Dockerfile init: true environment: + RUST_LOG: info HOST: 0.0.0.0 PORT: 3000 - RUST_LOG: info ports: - "3000:3000" volumes: - - ./server:/app - server-target:/app/target + - ./server:/app volumes: server-target: \ No newline at end of file diff --git a/server/Dockerfile b/server/Dockerfile index 13620e1..9c77468 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -4,8 +4,6 @@ RUN cargo install cargo-watch --locked WORKDIR /app -EXPOSE 3000 - CMD [ "cargo", "watch", "--watch", "src",