Download Dockerfile from Sven33/SATE: direct link, hf CLI and curl.
- Browser
- Download file 614 Bytes
-
https://huggingface.co/spaces/Sven33/SATE/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Sven33/SATE/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sven33/SATE/resolve/main/Dockerfile
614 Bytes
| FROM continuumio/miniconda3:24.11.1-0 | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /app | |
| COPY . . | |
| # This is only for building docker in huggingface spaces | |
| ENV HF_HOME=/data/.huggingface | |
| RUN conda env create -f environment_sate_0.11.yml | |
| RUN conda run -n SATE pip uninstall -y transformers && \ | |
| conda run -n SATE pip install --no-cache-dir git+https://github.com/nyrahealth/transformers.git@crisper_whisper | |
| RUN mkdir -p /app/session_data && chown -R user:user /app/session_data | |
| EXPOSE 7860 | |
| CMD ["conda", "run", "--no-capture-output", "-n", "SATE", "python", "main_socket.py", "--port", "7860", "--host", "0.0.0.0"] |