rein0421 commited on
Commit
10efcee
·
verified ·
1 Parent(s): 701f7d1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -8,9 +8,11 @@ WORKDIR /app
8
  COPY . .
9
 
10
  # OpenCVやdlibの依存関係をインストール
11
- RUN apt-get update && apt-get install -y \
12
- libgl1 libglib2.0-0 curl cmake \
13
- libboost-all-dev libopenblas-dev
 
 
14
 
15
  # パーミッションの問題を避けるため、ユーザーを作成
16
  RUN useradd -m appuser
 
8
  COPY . .
9
 
10
  # OpenCVやdlibの依存関係をインストール
11
+ # Pythonの依存関係をインストール
12
+ RUN pip install --no-cache-dir --upgrade pip && \
13
+ pip install --no-cache-dir --only-binary=:all: dlib && \
14
+ pip install --no-cache-dir --upgrade -r /app/requirements.txt
15
+
16
 
17
  # パーミッションの問題を避けるため、ユーザーを作成
18
  RUN useradd -m appuser