Yusin commited on
Commit
a0f7f16
·
1 Parent(s): 17dbf80

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -4,6 +4,8 @@ FROM ultrafunk/undetected-chromedriver:latest
4
 
5
  RUN apt-get update \
6
  && apt-get install -y python3-pip python3-dev \
 
 
7
  && pip3 --no-cache-dir install --upgrade pip \
8
  && rm -rf /var/lib/apt/lists/*
9
 
@@ -13,4 +15,4 @@ RUN python -m pip install -r requirements.txt
13
  COPY aberconnect.sh .
14
 
15
  RUN chmod +x aberconnect.sh
16
- ENTRYPOINT ["./aberconnect.sh"]
 
4
 
5
  RUN apt-get update \
6
  && apt-get install -y python3-pip python3-dev \
7
+ && cd /usr/local/bin \
8
+ && ln -s -f /usr/bin/python3 python \
9
  && pip3 --no-cache-dir install --upgrade pip \
10
  && rm -rf /var/lib/apt/lists/*
11
 
 
15
  COPY aberconnect.sh .
16
 
17
  RUN chmod +x aberconnect.sh
18
+ ENTRYPOINT ["aberconnect.sh"]