Spaces:
Sleeping
Sleeping
Added custom Dockerfile
Browse files- Dockerfile +10 -0
- Pipfile +18 -0
- Pipfile.lock +0 -0
Dockerfile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10.12-slim-bookworm
|
2 |
+
|
3 |
+
RUN python -m pip install pipenv
|
4 |
+
|
5 |
+
COPY Pipfile .
|
6 |
+
COPY Pipfile.lock .
|
7 |
+
COPY *.py .
|
8 |
+
|
9 |
+
|
10 |
+
RUN pipenv install --system --deploy
|
Pipfile
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[[source]]
|
2 |
+
url = "https://pypi.org/simple"
|
3 |
+
verify_ssl = true
|
4 |
+
name = "pypi"
|
5 |
+
|
6 |
+
[packages]
|
7 |
+
accelerate = "*"
|
8 |
+
transformers = "*"
|
9 |
+
datasets = {version = "*", extras = ["audio"]}
|
10 |
+
|
11 |
+
[dev-packages]
|
12 |
+
|
13 |
+
[requires]
|
14 |
+
python_version = "3.10"
|
15 |
+
python_full_version = "3.10.12"
|
16 |
+
|
17 |
+
[pipenv]
|
18 |
+
allow_prereleases = true
|
Pipfile.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|