Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +8 -11
Dockerfile
CHANGED
@@ -3,18 +3,15 @@
|
|
3 |
|
4 |
FROM ultrafunk/undetected-chromedriver:latest
|
5 |
|
6 |
-
|
|
|
7 |
|
8 |
-
|
9 |
|
10 |
-
COPY
|
|
|
11 |
|
12 |
-
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
RUN mkdir -p /.local/share/undetected_chromedriver
|
17 |
-
RUN chmod -R 777 /.local/share/undetected_chromedriver
|
18 |
-
|
19 |
-
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
20 |
-
CMD ["python", "main.py"]
|
|
|
3 |
|
4 |
FROM ultrafunk/undetected-chromedriver:latest
|
5 |
|
6 |
+
RUN apt-get update && apt-get install -y software-properties-common gcc && \
|
7 |
+
add-apt-repository -y ppa:deadsnakes/ppa
|
8 |
|
9 |
+
RUN apt-get update && apt-get install -y python3.9 python3-distutils python3-pip python3-apt
|
10 |
|
11 |
+
COPY requirements.txt .
|
12 |
+
RUN python -m pip install -r requirements.txt
|
13 |
|
14 |
+
COPY aberconnect.sh .
|
15 |
|
16 |
+
RUN chmod +x aberconnect.sh
|
17 |
+
ENTRYPOINT ["./aberconnect.sh"]
|
|
|
|
|
|
|
|
|
|