AIDocScanner / Dockerfile
GoldiSahoo's picture
Update Dockerfile
7278088 verified
raw
history blame contribute delete
451 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir --upgrade pip \
build-essential \
curl \
git \
&& pip install --no-cache-dir -r requirements.txt \
&& apt-get update && apt-get install -y supervisor && rm -rf /var/lib/apt/lists/*
COPY . ./
COPY supervisor.conf /etc/supervisor/conf.d/supervisor.conf
EXPOSE 8000 8501
CMD ["supervisord", "-c", "/etc/supervisor/conf.d/supervisor.conf"]