FROM rust:1.88.0 WORKDIR /app COPY ./task ./task COPY ./cache ./cache COPY ./storage ./storage RUN mkdir /app/posts RUN cargo build --release --manifest-path ./task/Cargo.toml EXPOSE 3000 CMD ["/app/task/target/release/task"]