Skip to content

Commit e2504dd

Browse files
committed
1 parent 8771512 commit e2504dd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/examples/cvat/exchange-oracle/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ FROM python:3.10
33
WORKDIR /app
44

55
RUN apt-get update -y && \
6-
apt-get install -y jq ffmpeg libsm6 libxext6 && \
7-
pip install --no-cache poetry
6+
apt-get install -y jq ffmpeg libsm6 libxext6 pipx && \
7+
pipx install --pip-args='--no-cache' poetry==1.8.4
88

99
COPY pyproject.toml poetry.lock ./
1010

1111
RUN poetry config virtualenvs.create false \
1212
&& poetry install --no-interaction --no-ansi --no-root \
1313
&& poetry cache clear pypi --all
1414

15+
# TODO: Consider moving to multistage builds and system cache for faster builds and smaller images.
1516
COPY . .
1617

1718
CMD ["sh", "./bin/start_dev.sh"]

packages/examples/cvat/recording-oracle/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ FROM python:3.10
33
WORKDIR /app
44

55
RUN apt-get update -y && \
6-
apt-get install -y jq ffmpeg libsm6 libxext6 && \
7-
pip install --no-cache poetry
6+
apt-get install -y jq ffmpeg libsm6 libxext6 pipx && \
7+
pipx install --pip-args='--no-cache' poetry==1.8.4
88

99
COPY pyproject.toml poetry.lock ./
1010

1111
RUN poetry config virtualenvs.create false \
1212
&& poetry install --no-interaction --no-ansi --no-root \
1313
&& poetry cache clear pypi --all
1414

15+
# TODO: Consider moving to multistage builds and system cache for faster builds and smaller images.
1516
COPY . .
1617

1718
CMD ["sh", "./bin/start_dev.sh"]

0 commit comments

Comments
 (0)