New_gpu_space / Dockerfile
hiitsesh's picture
Install git for Space dependency builds
a6c5637
Raw
History Blame Contribute Delete
331 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY . /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends git \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
# Expose port for HF Spaces
EXPOSE 7860
CMD uvicorn releaseops_arena.server:app --host 0.0.0.0 --port ${PORT:-7860}