ayden-a28 commited on
Commit
b0291cf
·
verified ·
1 Parent(s): ad81cd9

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -26
Dockerfile DELETED
@@ -1,26 +0,0 @@
1
- # Use a Python 3.10 base image
2
- FROM python:3.10
3
-
4
- # Set the working directory for the application
5
- WORKDIR /app
6
-
7
- # Copy the requirements file into the container and install Python dependencies
8
- # This is done first to leverage Docker's build cache
9
- COPY requirements.txt .
10
- RUN pip install --no-cache-dir -r requirements.txt
11
-
12
- # This corrected command only installs essential development tools.
13
- # The unnecessary video/graphics packages that caused the error have been removed.
14
- RUN apt-get update && apt-get install -y \
15
- git \
16
- git-lfs \
17
- && rm -rf /var/lib/apt/lists/*
18
-
19
- # Copy the rest of your application code into the container
20
- COPY . .
21
-
22
- # Expose the port used by Gradio
23
- EXPOSE 7860
24
-
25
- # Define the command to run your Python application
26
- CMD ["python", "app.py"]