ktongue/docker_container / simulations /Dockerfile.hfspaces
download
raw
530 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV DEBIAN_FRONTEND=noninteractive
ENV HF_HUB_DISABLE_XDG=1
WORKDIR /root/bookshop
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*
COPY simulationserver/requirements.txt .
RUN pip install --no-cache-dir -r simulationserver/requirements.txt
COPY . .
RUN python manage.py migrate --run-syncdb 2>/dev/null || true
EXPOSE 7860
CMD ["sh", "-c", "python manage.py runserver 0.0.0.0:7860"]

Xet Storage Details

Size:
530 Bytes
·
Xet hash:
75ad3f98ded054d1053a9f0be209d5e7935a8b91d724115913d223d3cc3b7284

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.