summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: ab01b3200bcc94ec168b82a952884a387e3a84b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ARG VERSION=3
FROM python:$VERSION

RUN mkdir /isort
WORKDIR /isort

COPY pyproject.toml poetry.lock /isort/
RUN python -m pip install --upgrade pip && python -m pip install poetry && poetry install

COPY . /isort/
RUN poetry install

CMD /isort/scripts/test.sh