Spaces:
Sleeping
Sleeping
Download Dockerfile from Janady07/megamind-cipher: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/Janady07/megamind-cipher/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Janady07/megamind-cipher/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Janady07/megamind-cipher/resolve/main/Dockerfile
270 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY brain.py /app/ | |
| EXPOSE 7860 | |
| HEALTHCHECK --interval=30s --timeout=10s CMD curl -sf http://localhost:7860/health || exit 1 | |
| CMD ["python3", "/app/brain.py"] | |