Browse Source

Update Dockerfile-Chrome-Selenium

蘭雅sRGB 3 năm trước cách đây
mục cha
commit
a1cff38b4e
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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