Download Dockerfile from Starchik1/ssh: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/spaces/Starchik1/ssh/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Starchik1/ssh/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Starchik1/ssh/resolve/main/Dockerfile
392 Bytes
| # Dockerfile | |
| FROM python:3.9-slim | |
| # Устанавливаем SSH-клиент | |
| RUN apt-get update && apt-get install -y openssh-client && rm -rf /var/lib/apt/lists/* | |
| # Создаем директорию для SSH ключей | |
| RUN mkdir -p /root/.ssh && chmod 700 /root/.ssh | |
| # Копируем скрипт запуска | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| CMD ["/start.sh"] |