Spaces:
Sleeping
Sleeping
Download Dockerfile from awacke1/Stateful_Multiplayer: direct link, hf CLI and curl.
- Browser
- Download file 428 Bytes
-
https://huggingface.co/spaces/awacke1/Stateful_Multiplayer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/awacke1/Stateful_Multiplayer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/awacke1/Stateful_Multiplayer/resolve/main/Dockerfile
428 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| nginx \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY app.py /app/app.py | |
| COPY nginx.conf /etc/nginx/nginx.conf | |
| COPY start.sh /app/start.sh | |
| RUN pip install --no-cache-dir fastapi uvicorn streamlit pydantic | |
| EXPOSE 7860 | |
| RUN chmod +x /app/start.sh | |
| CMD ["/app/start.sh"] | |