Spaces:
Running
Running
usmanyousaf
commited on
Commit
•
ac8f846
1
Parent(s):
aa9ef61
Delete apt.txt
Browse files
apt.txt
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
FROM python:3.9-slim
|
2 |
-
|
3 |
-
# Install Chrome dependencies
|
4 |
-
RUN apt-get update && apt-get install -y \
|
5 |
-
chromium-driver \
|
6 |
-
chromium-browser \
|
7 |
-
libnss3 \
|
8 |
-
libgconf-2-4 \
|
9 |
-
libxss1 \
|
10 |
-
libappindicator1 \
|
11 |
-
fonts-liberation \
|
12 |
-
libasound2 \
|
13 |
-
xdg-utils \
|
14 |
-
libgbm1 \
|
15 |
-
--no-install-recommends && apt-get clean && rm -rf /var/lib/apt/lists/*
|
16 |
-
|
17 |
-
# Set Chrome as default for Selenium
|
18 |
-
ENV CHROME_BIN=/usr/bin/chromium
|
19 |
-
ENV CHROME_DRIVER=/usr/bin/chromedriver
|
20 |
-
|
21 |
-
# Install required Python libraries
|
22 |
-
COPY requirements.txt .
|
23 |
-
RUN pip install -r requirements.txt
|
24 |
-
|
25 |
-
# Copy application files
|
26 |
-
COPY . /app
|
27 |
-
WORKDIR /app
|
28 |
-
|
29 |
-
CMD ["streamlit", "run", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|