Download Dockerfile from Linhz/ViMNer: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/spaces/Linhz/ViMNer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Linhz/ViMNer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Linhz/ViMNer/resolve/main/Dockerfile
314 Bytes
| from python:3.10-slim | |
| RUN apt-get update& apt-get install -y openjdk-11-jdk | |
| ENV JAVA_HOME /url/lib/jvm/java-11-openjdk-amd64 | |
| ENV PATH $JAVA_HOME/bin:$PATH | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| COPY ./app | |
| WORKDIR /app | |
| CMD["streamlit","run","app.py"] |