2026-01-12 15:23:19 +01:00

21 lines
457 B
Docker

# Use the Python image
FROM python:3.10
# Install necessary packages
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
libgl1
# Copy application files into the Docker image
COPY . /code/app
# Specify the directory where the application will run
WORKDIR /code/app
# Install necessary Python packages
RUN pip install -r requirements.txt
# Run the application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8003"]