Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Python 3.
|
2 |
FROM python:3.11.6
|
3 |
|
4 |
# 作業ディレクトリを /app に設定
|
@@ -11,7 +11,7 @@ COPY . .
|
|
11 |
RUN apt-get update && \
|
12 |
apt-get install -y cmake && \
|
13 |
pip install --no-cache-dir --upgrade pip && \
|
14 |
-
|
15 |
pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
16 |
|
17 |
# パーミッションの問題を避けるため、ユーザーを作成
|
|
|
1 |
+
# Python 3.11.6の公式イメージを使用
|
2 |
FROM python:3.11.6
|
3 |
|
4 |
# 作業ディレクトリを /app に設定
|
|
|
11 |
RUN apt-get update && \
|
12 |
apt-get install -y cmake && \
|
13 |
pip install --no-cache-dir --upgrade pip && \
|
14 |
+
pip install --no-cache-dir --find-links https://github.com/trolltroll/python-dlib-wheels/releases/tag/v19.24.2 dlib==19.24.2 && \
|
15 |
pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
16 |
|
17 |
# パーミッションの問題を避けるため、ユーザーを作成
|