Skip to content

Commit

Permalink
Update Dockerfile - fix pip compatibilities (#26)
Browse files Browse the repository at this point in the history
* Update Dockerfile - fix pip compatibilities

* Update Dockerfile - pip compatibilities
  • Loading branch information
JoffreyLuang authored Jul 25, 2024
1 parent 571152e commit d69077d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ RUN apt install -y libssl-dev \
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN python3 -m pip install --upgrade pip && \
pip3 install -U pip setuptools wheel && \
RUN python3 -m pip install pip==24.0 && \
pip3 install -U setuptools wheel && \
pip3 install --no-cache-dir borgbackup && \
pip3 install --no-cache-dir -r requirements.txt

Expand All @@ -45,4 +45,4 @@ RUN mkdir -p /root/flower

COPY . .

CMD ["uvicorn", "run=app"]
CMD ["uvicorn", "run=app"]

0 comments on commit d69077d

Please sign in to comment.