Spaces:
Sleeping
Sleeping
updates
Browse files- .github/workflows/main.yml +1 -1
- Dockerfile +7 -5
.github/workflows/main.yml
CHANGED
|
@@ -16,4 +16,4 @@ jobs:
|
|
| 16 |
- name: Push to hub
|
| 17 |
env:
|
| 18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 19 |
-
run: git push https://
|
|
|
|
| 16 |
- name: Push to hub
|
| 17 |
env:
|
| 18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 19 |
+
run: git push https://ruslanmv:[email protected]/spaces/ruslanmv/ollama-webui main
|
Dockerfile
CHANGED
|
@@ -7,11 +7,13 @@ COPY requirements.txt requirements.txt
|
|
| 7 |
RUN python -m venv venv
|
| 8 |
ENV PATH="/app/venv/bin:$PATH"
|
| 9 |
|
| 10 |
-
RUN apt-get update && \
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
| 15 |
COPY . .
|
| 16 |
|
| 17 |
RUN chmod -R 777 translations
|
|
|
|
| 7 |
RUN python -m venv venv
|
| 8 |
ENV PATH="/app/venv/bin:$PATH"
|
| 9 |
|
| 10 |
+
RUN apt-get update && \
|
| 11 |
+
apt-get clean && \
|
| 12 |
+
apt-get install -y --no-install-recommends build-essential libffi-dev cmake libcurl4-openssl-dev && \
|
| 13 |
+
python3 -m pip install --upgrade pip && \
|
| 14 |
+
pip3 install --no-cache-dir -r requirements.txt && \
|
| 15 |
+
curl -fsSL https://ollama.com/install.sh | sh
|
| 16 |
+
|
| 17 |
COPY . .
|
| 18 |
|
| 19 |
RUN chmod -R 777 translations
|