Spaces:
Running
on
Zero
Running
on
Zero
Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -28,10 +28,10 @@ USER user
|
|
28 |
|
29 |
# 依存関係をインストール
|
30 |
COPY requirements.txt /app/
|
31 |
-
RUN apt
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
|
36 |
COPY . /app
|
37 |
|
|
|
28 |
|
29 |
# 依存関係をインストール
|
30 |
COPY requirements.txt /app/
|
31 |
+
RUN apt-get update && apt-get upgrade -y && \
|
32 |
+
apt-get install -y --no-install-recommends libopencv-dev && \
|
33 |
+
apt-get clean && \
|
34 |
+
rm -rf /var/lib/apt/lists/*
|
35 |
|
36 |
COPY . /app
|
37 |
|