Spaces:
Sleeping
Sleeping
Download Dockerfile from VortexedSquirrel/tetris-env: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/spaces/VortexedSquirrel/tetris-env/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/VortexedSquirrel/tetris-env/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/VortexedSquirrel/tetris-env/resolve/main/Dockerfile
305 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Force rebuild v2 | |
| COPY src/ src/ | |
| COPY README.md README.md | |
| ENV ENABLE_WEB_INTERFACE=true | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "src.tetris_env.server.app:app", "--host", "0.0.0.0", "--port", "8000"] | |