Cylanoid commited on
Commit
c3050d9
·
verified ·
1 Parent(s): e5f8a81

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -25
Dockerfile DELETED
@@ -1,25 +0,0 @@
1
- # Use an official Python runtime as the base image
2
- FROM python:3.10
3
-
4
- # Install system dependencies (e.g., for flash-attn)
5
- RUN apt-get update && apt-get install -y nodejs
6
-
7
- # Install torch first to make it available for other packages' build processes
8
- RUN pip install torch
9
-
10
- # Install flash-attn with no-build-isolation
11
- RUN pip install flash-attn --no-build-isolation
12
-
13
- # Copy requirements.txt and install remaining dependencies
14
- COPY requirements.txt /tmp/requirements.txt
15
- RUN pip install --no-cache-dir -r /tmp/requirements.txt
16
-
17
- # Copy your application code to the container
18
- COPY . /app
19
- WORKDIR /app
20
-
21
- # Expose the port (default for Gradio/Hugging Face Spaces is 7860)
22
- EXPOSE 7860
23
-
24
- # Command to run your application
25
- CMD ["python", "app.py"]