Delete Dockerfile
Browse files- Dockerfile +0 -24
Dockerfile
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
# Use the NVIDIA CUDA base image
|
2 |
-
FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
|
3 |
-
|
4 |
-
# Set the working directory
|
5 |
-
WORKDIR /app
|
6 |
-
|
7 |
-
# Install Python and other necessary packages
|
8 |
-
RUN apt-get update && apt-get install -y \
|
9 |
-
python3 \
|
10 |
-
python3-pip \
|
11 |
-
&& rm -rf /var/lib/apt/lists/*
|
12 |
-
|
13 |
-
# Copy the requirements file and install the Python dependencies
|
14 |
-
COPY requirements.txt .
|
15 |
-
RUN pip3 install --no-cache-dir -r requirements.txt
|
16 |
-
|
17 |
-
# Copy the rest of the application code
|
18 |
-
COPY . .
|
19 |
-
|
20 |
-
# Expose the port the app runs on
|
21 |
-
EXPOSE 7860
|
22 |
-
|
23 |
-
# Command to run the application
|
24 |
-
CMD ["python3", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|