eyebotIndoBert / Dockerfile
adechandra1987's picture
Update Dockerfile
995a9df verified
raw
history blame contribute delete
271 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY . .
RUN pip install --upgrade pip && \
pip install torch==2.0.1 --index-url https://download.pytorch.org/whl/cu118 && \
pip install --no-cache-dir -r requirements.txt
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]