File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ # ==================================
2+ # Use an official Python runtime as a parent image
3+ FROM python:3.10-slim
4+ RUN apt-get update && apt-get -y install libgl1-mesa-dev libglib2.0-0 build-esse
5+ ntial; apt-get clean
6+ RUN pip install opencv-contrib-python-headless
7+
8+ # Set environment variables
9+ ENV PYTHONDONTWRITEBYTECODE 1
10+ ENV PYTHONUNBUFFERED 1
11+
12+ # Set the working directory in the container
13+ WORKDIR /usr/src/zeta
14+
15+
16+ # Install Python dependencies
17+ # COPY requirements.txt and pyproject.toml if you're using poetry for dependency
18+ management
19+ COPY requirements.txt .
20+ RUN pip install --no-cache-dir --upgrade pip
21+ RUN pip install --no-cache-dir -r requirements.txt
22+
23+ RUN pip install --no-cache-dir zetascale
24+
25+ # Copy the rest of the application
26+ COPY . .
27+
You can’t perform that action at this time.
0 commit comments