Spaces:
Sleeping
Sleeping
Download Dockerfile from MainiSandeep1987/FrontEndFlaskAPI: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/spaces/MainiSandeep1987/FrontEndFlaskAPI/resolve/fcbe7bd99fc84e4dfa239dbe1c0108f660dfd3bb/Dockerfile
- Command line
-
hf download hf://spaces/MainiSandeep1987/FrontEndFlaskAPI@fcbe7bd99fc84e4dfa239dbe1c0108f660dfd3bb/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MainiSandeep1987/FrontEndFlaskAPI/resolve/fcbe7bd99fc84e4dfa239dbe1c0108f660dfd3bb/Dockerfile
461 Bytes
| # FROM python:3.9-slim | |
| # WORKDIR /app | |
| # COPY . . | |
| # COPY requirements.txt . | |
| # COPY app.py . | |
| # RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| # CMD ["streamlit", "run", "app.py", "server.address=0.0.0.0", "server.port=8501"] | |
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| CMD ["streamlit", "run", "app.py", "--server.port=7861", "--server.address=0.0.0.0"] | |