Skip to content

Commit 2fb6808

Browse files
author
evelynmitchell
committed
Dockerfile
1 parent 29345a2 commit 2fb6808

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+

0 commit comments

Comments
 (0)