Explorar el Código

Update Dockerfile-Chrome-Selenium

蘭雅sRGB hace 3 años
padre
commit
a1cff38b4e
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      python3/Dockerfile-Chrome-Selenium

+ 3 - 2
python3/Dockerfile-Chrome-Selenium

@@ -1,4 +1,4 @@
-FROM debian:stable-slim\
+FROM debian:stable-slim
 RUN  apt update -y \
   && 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 \
@@ -14,5 +14,6 @@ RUN  apt update -y \
   && rm -rf /var/lib/apt/lists/*  \
   && 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