Spaces:
Sleeping
Sleeping
Download Dockerfile from agideia/beautify-http-server: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/spaces/agideia/beautify-http-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/agideia/beautify-http-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/agideia/beautify-http-server/resolve/main/Dockerfile
469 Bytes
| FROM python:3.11-slim | |
| # Instalar dependências do sistema | |
| RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* | |
| # Diretório de trabalho | |
| WORKDIR /app | |
| # Clonar e instalar o beautify-http-server | |
| RUN git clone https://github.com/lorenzodifuccia/http.server.git \ | |
| && cd http.server \ | |
| && pip install . | |
| # Copiar o script de inicialização | |
| COPY app.sh . | |
| # Expor porta padrão do Spaces | |
| EXPOSE 7860 | |
| # Comando de execução | |
| CMD ["bash", "app.sh"] | |