Skip to content

Commit 9e1239e

Browse files
committed
fix : Dockerfile - not include installing chromedriver
1 parent ec3f89c commit 9e1239e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/aws.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ jobs:
6060

6161
- name: Login to Amazon ECR
6262
id: login-ecr
63-
uses: aws-actions/amazon-ecr-login@v1
63+
uses: aws-actions/amazon-ecr-login@v2
64+
with:
65+
mask-password: 'false'
6466

6567
- name: Build, tag, and push image to Amazon ECR
6668
id: build-image

Dockerfile

-6
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,11 @@ RUN pip install --upgrade pip
88

99
RUN apt-get update
1010
RUN apt-get install wget -y
11-
RUN apt-get install -yqq unzip
1211

1312
# Install Chrome
1413
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
1514
RUN apt -y install ./google-chrome-stable_current_amd64.deb
1615

17-
# Install ChromeDriver.
18-
RUN wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/` curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`/chromedriver_linux64.zip
19-
RUN mkdir chrome
20-
RUN unzip /tmp/chromedriver.zip chromedriver -d /usr/src/chrome
21-
2216
COPY app ./app
2317

2418
COPY requirements.txt ./

0 commit comments

Comments
 (0)