download
raw
537 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV DEBIAN_FRONTEND=noninteractive
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 8000
CMD ["sh", "-c", "redis-server --daemonize yes && python manage.py runserver 0.0.0.0:8000"]

Xet Storage Details

Size:
537 Bytes
·
Xet hash:
1357895963eff4c903bb74237b9f0c3423dffa3b7c6334b02507cc16f34ed949

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