harishaseebat92 commited on
Commit
238c979
·
verified ·
1 Parent(s): d5a3b07

Delete Dockerfile.txt

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +0 -27
Dockerfile.txt DELETED
@@ -1,27 +0,0 @@
1
- # Use an NVIDIA CUDA base image with Python
2
- FROM nvidia/cuda:12.2.0-devel-ubuntu22.04
3
-
4
- # Set working directory
5
- WORKDIR /app
6
-
7
- # Install system dependencies
8
- RUN apt-get update && apt-get install -y \
9
- python3 \
10
- python3-pip \
11
- && rm -rf /var/lib/apt/lists/*
12
-
13
- # Upgrade pip
14
- RUN pip3 install --upgrade pip
15
-
16
- # Copy requirements.txt and install Python dependencies
17
- COPY requirements.txt .
18
- RUN pip3 install -r requirements.txt
19
-
20
- # Copy the application code
21
- COPY app.py .
22
-
23
- # Expose the port used by Gradio (default is 7860)
24
- EXPOSE 7860
25
-
26
- # Command to run the application
27
- CMD ["python3", "app.py"]