File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,16 @@ FROM python:3.10
33WORKDIR /app
44
55RUN 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
99COPY pyproject.toml poetry.lock ./
1010
1111RUN 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.
1516COPY . .
1617
1718CMD ["sh" , "./bin/start_dev.sh" ]
Original file line number Diff line number Diff line change @@ -3,15 +3,16 @@ FROM python:3.10
33WORKDIR /app
44
55RUN 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
99COPY pyproject.toml poetry.lock ./
1010
1111RUN 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.
1516COPY . .
1617
1718CMD ["sh" , "./bin/start_dev.sh" ]
You can’t perform that action at this time.
0 commit comments