yeq6x commited on
Commit
2a78754
1 Parent(s): 5f87f80

Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -28,10 +28,10 @@ USER user
28
 
29
  # 依存関係をインストール
30
  COPY requirements.txt /app/
31
- RUN apt -y update && apt -y upgrade
32
- RUN apt -y install libopencv-dev
33
- RUN pip install --no-cache-dir -r requirements.txt
34
- RUN pip install --no-dependencies transformers
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