esicodehub-ai / Dockerfile
WissalllK's picture
Add ESIcodeHub AI detection service
a937307
raw
history blame contribute delete
447 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
gcc \
g++ \
git \
libgomp1 \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8001
CMD ["uvicorn", "detection_service:app", "--host", "0.0.0.0", "--port", "8001"]