Create Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9-slim-buster # 或者你使用的基础镜像
|
2 |
+
|
3 |
+
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1 sox && rm -rf /var/lib/apt/lists/*
|
4 |
+
|
5 |
+
RUN pip install --no-cache-dir -r requirements.txt # 假设你有 requirements.txt
|