Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,14 @@ RUN apt-get update \
|
|
| 16 |
&& apt-get install tdsodbc -y \
|
| 17 |
&& apt-get install --reinstall build-essential -y
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# populate "ocbcinst.ini" as this is where ODBC driver config sits
|
| 20 |
RUN echo "[FreeTDS]\n\
|
| 21 |
Description = FreeTDS Driver\n\
|
|
|
|
| 16 |
&& apt-get install tdsodbc -y \
|
| 17 |
&& apt-get install --reinstall build-essential -y
|
| 18 |
|
| 19 |
+
RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
|
| 20 |
+
|
| 21 |
+
RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datasets "huggingface-hub>=0.19" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1" "pydantic~=1.0"
|
| 22 |
+
|
| 23 |
+
RUN pip install --no-cache-dir streamlit==1.36.0 "uvicorn>=0.14.0" spaces
|
| 24 |
+
|
| 25 |
+
RUN mkdir -p .streamlit && git config --global core.excludesfile ~/.gitignore && echo ".streamlit" > ~/.gitignore
|
| 26 |
+
|
| 27 |
# populate "ocbcinst.ini" as this is where ODBC driver config sits
|
| 28 |
RUN echo "[FreeTDS]\n\
|
| 29 |
Description = FreeTDS Driver\n\
|