Paul Campbell
1dbfd9fb7b
All checks were successful
Test / test (push) Successful in 3s
Given I want to implement the core login in Rust, I don't want to have a rust compile step for each invocation. So use a Dockerfile and it will be built and cached by each Fogejo Runner.
8 lines
200 B
Docker
8 lines
200 B
Docker
FROM docker.io/rust:1.81.0-bookworm
|
|
|
|
WORKDIR /app
|
|
COPY Cargo.toml ./
|
|
COPY src/ ./src/
|
|
RUN cargo build --release && mv target/release/forgejo-todo-checker .
|
|
|
|
ENTRYPOINT [ "/app/forgejo-todo-checker" ]
|