Mr7Explorer commited on
Commit
6a7a936
·
verified ·
1 Parent(s): b3e1712

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM pytorch/pytorch:2.4.1-cuda12.4-cudnn9-runtime
2
+
3
+ WORKDIR /code
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ build-essential \
7
+ ffmpeg \
8
+ libsndfile1 \
9
+ && rm -rf /var/lib/apt/lists/*
10
+
11
+ COPY requirements.txt .
12
+ RUN pip install --no-cache-dir -r requirements.txt
13
+
14
+ COPY . .
15
+
16
+ EXPOSE 7860
17
+
18
+ CMD ["python", "app.py"]