Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
@@ -25,10 +25,8 @@ RUN apt-get update && apt-get install -y \
|
|
25 |
xdg-utils \
|
26 |
libu2f-udev \
|
27 |
libvulkan1 \
|
28 |
-
python \
|
29 |
python3 \
|
30 |
-
python3-pip
|
31 |
-
python-pip
|
32 |
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
33 |
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
|
34 |
RUN rm google-chrome-stable_current_amd64.deb
|
@@ -36,7 +34,7 @@ RUN rm google-chrome-stable_current_amd64.deb
|
|
36 |
RUN echo "Chrome: " && google-chrome --version
|
37 |
COPY ["requirements.txt", "app.py"]
|
38 |
COPY . .
|
39 |
-
RUN
|
40 |
-
CMD ["
|
41 |
|
42 |
|
|
|
25 |
xdg-utils \
|
26 |
libu2f-udev \
|
27 |
libvulkan1 \
|
|
|
28 |
python3 \
|
29 |
+
python3-pip
|
|
|
30 |
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
31 |
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
|
32 |
RUN rm google-chrome-stable_current_amd64.deb
|
|
|
34 |
RUN echo "Chrome: " && google-chrome --version
|
35 |
COPY ["requirements.txt", "app.py"]
|
36 |
COPY . .
|
37 |
+
RUN pip3 install -r requirements.txt
|
38 |
+
CMD ["python3 app.py"]
|
39 |
|
40 |
|