Skin-Analysis / Dockerfile
IFMedTechdemo's picture
Rename Dockerfile (1) to Dockerfile
10a11e9 verified
raw
history blame contribute delete
277 Bytes
FROM python:3.11
WORKDIR /app
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
EXPOSE 7860
CMD ["python", "main.py"]