This repository has been archived on 2023-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
Vatu/res/docker/Dockerfile

15 lines
301 B
Docker
Raw Permalink Normal View History

# Build engine.
FROM rust:1 AS builder
COPY . /src
WORKDIR /src
RUN cargo build --release
# Run on a Lichess account.
FROM python:3
COPY . /vatu
WORKDIR /vatu/external/lichess-bot
RUN ls -l
RUN pip install -r requirements.txt
COPY --from=builder /src/target/release/vatu engines/
ENTRYPOINT ["bash"]