16 lines
254 B
Docker
16 lines
254 B
Docker
FROM rust:alpine
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN apk add git musl-dev
|
|
|
|
COPY Cargo.toml .
|
|
COPY public/ public/
|
|
COPY Rocket.toml .
|
|
COPY src/ src/
|
|
COPY templates/ templates/
|
|
|
|
RUN cargo install --config "net.git-fetch-with-cli=true" --path .
|
|
|
|
CMD ["rust-letter"]
|