Spaces:
Paused
Paused
Download Dockerfile from Awesome-Developer/Meow: direct link, hf CLI and curl.
- Browser
- Download file 549 Bytes
-
https://huggingface.co/spaces/Awesome-Developer/Meow/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Awesome-Developer/Meow/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Awesome-Developer/Meow/resolve/main/Dockerfile
549 Bytes
| FROM debian:11-slim | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| WORKDIR /app | |
| RUN apt-get update && \ | |
| apt-get upgrade -y && \ | |
| apt-get install -y python3 python3-pip openssh-server curl bash && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Optional: Install sshx if still needed | |
| RUN curl -sSf https://sshx.io/get | sh || true | |
| # Setup SSH for sshx compatibility | |
| RUN mkdir -p /var/run/sshd | |
| RUN echo 'root:password' | chpasswd 2>/dev/null || true | |
| COPY entrypoint.sh /app/entrypoint.sh | |
| RUN chmod +x /app/entrypoint.sh | |
| EXPOSE 7860 22 | |
| CMD ["/app/entrypoint.sh"] |