Files
my-website-v2/backend/public/Dockerfile

14 lines
246 B
Docker
Raw Normal View History

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