Files
my-website-v2/backend/public/Dockerfile
Wyatt J. Miller 88e6b3f1ee
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 23m36s
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (push) Failing after 20m55s
modified dockerfiles
2025-07-19 21:16:03 -04:00

13 lines
195 B
Docker

FROM rust:1.88.0
WORKDIR /app
COPY ./public ./public
COPY ./cache ./cache
RUN cargo build --release --manifest-path ./public/Cargo.toml
EXPOSE 3000
CMD ['/app/public/target/release/public']