mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-01-03 21:43:09 +00:00
16 lines
363 B
Docker
16 lines
363 B
Docker
FROM python:3.12-slim
|
|
|
|
RUN pip install poetry && poetry config virtualenvs.create false
|
|
|
|
RUN mkdir /opt/bittorrent-benchmarks
|
|
WORKDIR /opt/bittorrent-benchmarks
|
|
|
|
COPY pyproject.toml poetry.lock ./
|
|
RUN poetry install --no-root
|
|
|
|
COPY . .
|
|
RUN poetry install
|
|
|
|
ENTRYPOINT ["/usr/local/bin/bittorrent-benchmarks", "run", "/opt/bittorrent-benchmarks/experiments.yaml"]
|
|
|