Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Commit

Permalink
Avoid poetry 1.1.8 python issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yshym committed Aug 30, 2021
1 parent e4b3afa commit f1f237a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions django/docker/celery_worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@ WORKDIR /code
COPY . /code/

RUN apt-get update -y
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update -y
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata
RUN apt-get install -y python3.8 python3-pip ffmpeg libpq-dev
RUN DEBIAN_FRONTEND="noninteractive" \
apt-get install -y python3 python3-pip ffmpeg libpq-dev

RUN pip3 install poetry \
RUN pip3 install poetry==1.1.7 \
&& poetry config virtualenvs.create false \
&& poetry install --no-dev

0 comments on commit f1f237a

Please sign in to comment.