Spaces:
Paused
Paused
Download Dockerfile from SimulaMet-HOST/PlayerTV: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/SimulaMet-HOST/PlayerTV/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/SimulaMet-HOST/PlayerTV/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SimulaMet-HOST/PlayerTV/resolve/main/Dockerfile
444 Bytes
| FROM continuumio/miniconda3 | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /app | |
| COPY . /app | |
| COPY environment.yml /app/environment.yml | |
| RUN apt-get update && apt-get install -y \ | |
| libgl1-mesa-glx \ | |
| libglib2.0-0 | |
| RUN conda env create -f environment.yml | |
| RUN chmod -R 777 /app/ | |
| EXPOSE 7860 | |
| # CMD ["conda", "run", "-n", "playerTV", "python", "app.py"] | |
| CMD ["bash", "-c", "source activate playerTV && flask run --host=0.0.0.0 --port=7860 --debug"] |