mix / Dockerfile
rrodden's picture
Setup for BOxCrete
bcb368b verified
raw
history blame contribute delete
328 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py .
# HF Spaces requires port 7860
EXPOSE 7860
CMD ["python", "main.py"]