Spaces:
Sleeping
Sleeping
janwinkler1
commited on
Commit
•
efc72ca
1
Parent(s):
091ccf4
initial docker container setup, adding packages we might need
Browse files- python/Dockerfile +18 -0
- python/pyproject.toml +2 -0
- python/requirements.txt +10 -0
python/Dockerfile
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.11.5
|
2 |
+
|
3 |
+
# Update apt-get
|
4 |
+
RUN apt-get update
|
5 |
+
|
6 |
+
# Upgrade pip
|
7 |
+
RUN pip install --upgrade pip
|
8 |
+
|
9 |
+
# Make a new directory to put our code in
|
10 |
+
WORKDIR /python
|
11 |
+
|
12 |
+
COPY requirements.txt .
|
13 |
+
|
14 |
+
# Install the Python dependencies
|
15 |
+
RUN pip install -r requirements.txt
|
16 |
+
|
17 |
+
|
18 |
+
CMD ["jupyter" , "lab", "--ip=0.0.0.0", "--port=8888", "--allow-root", "--NotebookApp.token=''"]
|
python/pyproject.toml
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
[tool.jupytext]
|
2 |
+
formats = "ipynb,py:percent"
|
python/requirements.txt
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pandas==2.2.1
|
2 |
+
seaborn==0.13.2
|
3 |
+
matplotlib==3.8.3
|
4 |
+
jupyterlab==4.1.4
|
5 |
+
statsmodels==0.14.1
|
6 |
+
jupytext==1.16.1
|
7 |
+
numpy
|
8 |
+
opencv-python
|
9 |
+
scipy
|
10 |
+
librosa
|