API_acne / Dockerfile
Akiteam's picture
Update Dockerfile
f44ca1b verified
Raw
History Blame Contribute Delete
365 Bytes
FROM python:3.11-slim
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 transforms.py .
COPY mobilenetv2.py .
COPY predict.py .
COPY app.py .
COPY models ./models
# EXPOSE $PORT
CMD uvicorn app:app --host 0.0.0.0 --port $PORT