twscrape/Dockerfile.python
2023-11-01 20:59:46 +02:00

12 строки
181 B
Docker

ARG VER=3.12
FROM python:${VER}-alpine
RUN apk add git
WORKDIR /app
COPY pyproject.toml readme.md /app/
RUN pip install -e .[dev]
COPY . /app
CMD python --version; pytest tests/