13 lines
226 B
Docker
13 lines
226 B
Docker
FROM rust:1.88.0
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./public /app/public
|
|
COPY ../cache /app/cache
|
|
|
|
RUN cargo build --release --manifest-path ./public/Cargo.toml
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ['cargo', 'run', '--manifest-path', '/app/public/Cargo.toml']
|