face_recognition / Dockerfile
Segizu's picture
Dockerizado
7d885ab
raw
history blame contribute delete
620 Bytes
FROM python:3.9
# Set the working directory in the container
WORKDIR /app
# Install cmake, libGL, and other necessary build tools
RUN apt-get update && apt-get install -y \
cmake \
build-essential \
libgl1-mesa-glx \
&& rm -rf /var/lib/apt/lists/*
# Copy the dependencies file to the working directory
COPY requirements.txt requirements.txt
# Install any dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Copy the content of the local src directory to the working directory
COPY . .
# Specify the command to run on container start
CMD ["streamlit", "run", "app.py"]