phundrak.com/Dockerfile
Lucien Cartier-Tilet 7f217641f0
feat(backend): add initial backend
Backend as is can query GitHub for the information that will be
necessary later on in the frontend's pages. It does not cache this
information yet though.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 12:13:51 +01:00

13 lines
197 B
Docker

FROM rust:alpine
WORKDIR /app
COPY Cargo.toml /app/Cargo.toml
COPY Cargo.lock /app/Cargo.lock
COPY src /app/src
RUN cargo build --release
RUN cargo install --path .
ENTRYPOINT [ "phuncache" ]