Dmitry Beresnev commited on
Commit
a3e694b
·
1 Parent(s): e1338ee

add env, req, gitignore and docker files

Browse files
Files changed (4) hide show
  1. .env.example +1 -0
  2. .gitignore +22 -0
  3. Dockerfile +19 -0
  4. requirements.txt +6 -0
.env.example ADDED
@@ -0,0 +1 @@
 
 
1
+ OPENBB_TOKEN=openbb_workspace_token_here
.gitignore ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Ignore virtual environment directories
2
+ .venv/
3
+ # Ignore environment variable files
4
+ .env
5
+ # Ignore lock files
6
+ uv.lock
7
+ # Ignore Python bytecode files
8
+ *.pyc
9
+ *.pyo
10
+ # Ignore Jupyter Notebook checkpoints
11
+ .ipynb_checkpoints/
12
+ # Ignore IDE specific files
13
+ .idea/
14
+ # Ignore logs
15
+ logs/
16
+ # ML model files
17
+ ml_models/
18
+ # Ignore experimental result files
19
+ exp_results/
20
+ # Ignore png and jpg files
21
+ *.png
22
+ *.jpg
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # System dependencies
6
+ RUN apt-get update && apt-get install -y build-essential git && rm -rf /var/lib/apt/lists/*
7
+
8
+ # Copy and install dependencies
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Copy application
13
+ COPY . .
14
+
15
+ # Expose Streamlit port for Hugging Face
16
+ EXPOSE 7860
17
+
18
+ # Run Streamlit
19
+ CMD ["streamlit", "run", "app/main.py", "--server.port=7860", "--server.address=0.0.0.0"]
requirements.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ openbb
2
+ streamlit
3
+ plotly
4
+ pandas
5
+ python-dotenv
6
+ ta-lib