Spaces:
Runtime error
Runtime error
Kaelan commited on
Commit ·
360f619
1
Parent(s): 59cc860
remove
Browse files- Dockerfile +7 -8
Dockerfile
CHANGED
|
@@ -9,6 +9,13 @@ RUN yarn build
|
|
| 9 |
|
| 10 |
FROM python:3.10-bullseye
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
# Set up a new user named "user" with user ID 1000
|
| 13 |
RUN useradd -m -u 1000 user
|
| 14 |
|
|
@@ -28,14 +35,6 @@ COPY --chown=user . $HOME/yolov-app
|
|
| 28 |
#RUN cp /yolov-app/public/uploads/skate.mp4 /yolov-app/build/static/skate.mp4
|
| 29 |
#RUN cp /yolov-app/public/uploads/slip.mp4 /yolov-app/build/static/slip.mp4
|
| 30 |
|
| 31 |
-
RUN apt-get update && apt-get install -y \
|
| 32 |
-
build-essential \
|
| 33 |
-
curl \
|
| 34 |
-
software-properties-common \
|
| 35 |
-
git \
|
| 36 |
-
&& pip install --upgrade pip \
|
| 37 |
-
&& apt clean && rm -rf /var/lib/apt/lists/*
|
| 38 |
-
|
| 39 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
| 40 |
|
| 41 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
| 9 |
|
| 10 |
FROM python:3.10-bullseye
|
| 11 |
|
| 12 |
+
RUN apt-get update && apt-get install -y \
|
| 13 |
+
build-essential \
|
| 14 |
+
curl \
|
| 15 |
+
software-properties-common \
|
| 16 |
+
git \
|
| 17 |
+
&& pip install --upgrade pip \
|
| 18 |
+
&& apt clean && rm -rf /var/lib/apt/lists/*
|
| 19 |
# Set up a new user named "user" with user ID 1000
|
| 20 |
RUN useradd -m -u 1000 user
|
| 21 |
|
|
|
|
| 35 |
#RUN cp /yolov-app/public/uploads/skate.mp4 /yolov-app/build/static/skate.mp4
|
| 36 |
#RUN cp /yolov-app/public/uploads/slip.mp4 /yolov-app/build/static/slip.mp4
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
| 39 |
|
| 40 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|