dvt81 commited on
Commit
69027da
·
verified ·
1 Parent(s): a5390b7

don't need

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -33
Dockerfile DELETED
@@ -1,33 +0,0 @@
1
- # Use the official Python runtime as a base image
2
- FROM python:3.10-slim
3
-
4
- # Set working directory
5
- WORKDIR /app
6
-
7
- # Install system dependencies: Chrome and ChromeDriver
8
- RUN apt-get update && apt-get install -y \
9
- wget \
10
- unzip \
11
- libglib2.0-0 \
12
- libnss3 \
13
- libgconf-2-4 \
14
- libfontconfig1 \
15
- && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
16
- && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
17
- && apt-get update && apt-get install -y google-chrome-stable \
18
- && wget https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_linux64.zip \
19
- && unzip chromedriver_linux64.zip -d /usr/local/bin/ \
20
- && rm chromedriver_linux64.zip \
21
- && chmod +x /usr/local/bin/chromedriver \ # Ensure ChromeDriver is executable
22
- && apt-get clean \
23
- && rm -rf /var/lib/apt/lists/*
24
-
25
- # Copy requirements file and install Python dependencies
26
- COPY requirements.txt .
27
- RUN pip install --no-cache-dir -r requirements.txt
28
-
29
- # Copy your application code
30
- COPY . .
31
-
32
- # Run the app
33
- CMD ["python", "app.py"]