Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed Jul 15, 2024
1 parent 2d37ef3 commit c63ebf2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ARG ARCH=cpu

# Use appropriate base image based on architecture
FROM ultralytics/ultralytics:latest-${ARCH}
FROM ultralytics/ultralytics:8.2.57-${ARCH}

# set environment variables
ENV PYTHONPATH "${PYTHONPATH}:/usr/src/app"
Expand All @@ -16,18 +16,11 @@ ENV PYTHONDONTWRITEBYTECODE 1
# set work directory
WORKDIR /usr/src/app

COPY ./README.md /tmp/README.md
COPY ./setup.py /tmp/setup.py

# install git
RUN apt-get update && apt-get install git -y


RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y\
&& pip install --upgrade pip setuptools wheel \
&& pip cache purge \
&& rm -rf /root/.cache/pip

COPY ./src/requirements.txt /tmp/requirements.txt

RUN pip install --default-timeout=500 -r /tmp/requirements.txt \
Expand Down

0 comments on commit c63ebf2

Please sign in to comment.