robin / Dockerfile
pjpjq's picture
Deploy Robin to Hugging Face Space
de0ad43
raw
history blame contribute delete
501 Bytes
FROM python:3.10-slim AS builder
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && \
apt-get install -y --no-install-recommends \
tor \
build-essential \
curl \
libssl-dev \
libffi-dev && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip && \
pip install -r requirements.txt
COPY . .
RUN chmod +x /app/entrypoint.sh
ENV PORT=7860
EXPOSE 7860
ENTRYPOINT ["/app/entrypoint.sh"]
CMD []