Files
my-website-v2/backend/task/Dockerfile
Wyatt J. Miller 4f8e7a654c
Some checks failed
Build and Release Docker Images / create-release (push) Has been skipped
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (push) Failing after 17m1s
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (push) Failing after 23m37s
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (push) Failing after 21m10s
modified dockerfiles some more
2025-07-19 21:52:36 -04:00

15 lines
231 B
Docker

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"]