Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
666ghj
2025-10-09 16:28:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
04f18dfadb0c21ef2db44b864f986cdf83d5daca
04f18dfa
1 parent
6ceb0070
Add initial Docker configuration.
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
0 deletions
.dockerignore
Dockerfile
docker-compose.yml
.dockerignore
0 → 100644
View file @
04f18df
.git
.gitmodules
.vscode
.cursor
__pycache__
*.py[cod]
*.pyo
*.pyd
*.log
*.sqlite3
.DS_Store
Thumbs.db
...
...
Dockerfile
0 → 100644
View file @
04f18df
FROM python:3.11-slim
# Prevent Python from writing .pyc files and buffer stdout/stderr
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
# Install system dependencies required by scientific Python stack, Playwright, and Streamlit
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
curl \
git \
libgl1 \
libglib2.0-0 \
libgtk-3-0 \
libpango-1.0-0 \
libpangocairo-1.0-0 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libxcb1 \
libxcomposite1 \
libxdamage1 \
libxext6 \
libxfixes3 \
libxi6 \
libxtst6 \
libnss3 \
libxrandr2 \
libxkbcommon0 \
libasound2 \
libx11-xcb1 \
libxshmfence1 \
libgbm1 \
ffmpeg \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install Python dependencies first to leverage Docker layer caching
COPY requirements.txt ./
RUN pip install --upgrade pip && \
pip install -r requirements.txt && \
python -m playwright install chromium
# Copy application source
COPY . .
# Ensure runtime directories exist even if ignored in build context
RUN mkdir -p logs final_reports insight_engine_streamlit_reports media_engine_streamlit_reports query_engine_streamlit_reports
# Expose Flask and Streamlit ports
EXPOSE 5000 8501 8502 8503
# Default command launches the Flask orchestrator which starts Streamlit agents
CMD ["python", "app.py"]
...
...
docker-compose.yml
0 → 100644
View file @
04f18df
version
:
"
3.9"
services
:
bettafish
:
build
:
context
:
.
dockerfile
:
Dockerfile
image
:
bettafish:latest
container_name
:
bettafish
restart
:
unless-stopped
environment
:
-
PYTHONUNBUFFERED=1
ports
:
-
"
5000:5000"
-
"
8501:8501"
-
"
8502:8502"
-
"
8503:8503"
volumes
:
-
./logs:/app/logs
-
./final_reports:/app/final_reports
-
./insight_engine_streamlit_reports:/app/insight_engine_streamlit_reports
-
./media_engine_streamlit_reports:/app/media_engine_streamlit_reports
-
./query_engine_streamlit_reports:/app/query_engine_streamlit_reports
...
...
Please
register
or
login
to post a comment