|
@@ -1,4 +1,4 @@
|
|
-FROM debian:stable-slim\
|
|
|
|
|
|
+FROM debian:stable-slim
|
|
RUN apt update -y \
|
|
RUN apt update -y \
|
|
&& apt install --no-install-recommends --no-install-suggests -y wget unzip python3 python3-pip \
|
|
&& apt install --no-install-recommends --no-install-suggests -y wget unzip python3 python3-pip \
|
|
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
|
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
|
@@ -14,5 +14,6 @@ RUN apt update -y \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& pip3 install selenium
|
|
&& pip3 install selenium
|
|
|
|
|
|
|
|
+# docker build -t chrome -f Dockerfile-Chrome-Selenium .
|
|
|
|
|
|
-# docker run -it debian:stable-slim bash
|
|
|
|
|
|
+# docker run -d --restart=always -v /app:/app --name chrome chrome python3 -m http.server
|