Download Dockerfile from JSWAI/VIN: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/JSWAI/VIN/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/JSWAI/VIN/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/JSWAI/VIN/resolve/main/Dockerfile
281 Bytes
| FROM docker:27-dind | |
| RUN apk add --no-cache python3 py3-pip | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY server.py . | |
| ENV DOCKER_TLS_CERTDIR="" | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "dockerd-entrypoint.sh & sleep 3 && python3 server.py"] |