Spaces:
Runtime error
Runtime error
Download Dockerfile from AI4EPS/DeepDenoiser: direct link, hf CLI and curl.
- Browser
- Download file 875 Bytes
-
https://huggingface.co/spaces/AI4EPS/DeepDenoiser/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AI4EPS/DeepDenoiser/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AI4EPS/DeepDenoiser/resolve/main/Dockerfile
875 Bytes
| FROM tensorflow/tensorflow | |
| RUN pip install tqdm obspy pandas | |
| RUN pip install uvicorn fastapi kafka-python | |
| WORKDIR /opt | |
| COPY deepdenoiser /opt/deepdenoiser | |
| RUN wget https://github.com/AI4EPS/models/releases/download/DeepDenoiser/model.tar && tar -xvf model.tar && rm model.tar | |
| EXPOSE 8000 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENTRYPOINT ["uvicorn", "--app-dir", "deepdenoiser", "app:app", "--reload", "--port", "7860", "--host", "0.0.0.0"] |