Skip to content

Commit 4bf359d

Browse files
author
Petru Dumuta
committed
Minimize dockerfile
1 parent 89f5dec commit 4bf359d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
FROM python:3.7-slim-buster
22

33
WORKDIR /fred
4-
COPY requirements.txt .
5-
RUN pip3 install -r requirements.txt
64

75
# Installing build dependencies
86
RUN apt-get update && apt-get install -y curl libnss3-dev libcups2-dev libasound2-dev libatk1.0-dev libatk-bridge2.0-dev libgtk-3-dev libpangocairo-1.0-0 python3-pip xorg && apt-get clean
97

8+
COPY requirements.txt .
9+
RUN pip3 install -r requirements.txt
10+
RUN pyppeteer-install
11+
1012
COPY fred/ .
1113

1214
# Extract the model files

0 commit comments

Comments
 (0)