unclemusclez commited on
Commit
0922966
·
verified ·
1 Parent(s): 74c90a8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -47,7 +47,7 @@ COPY --chown=1000 . ${APPDIR}
47
  # pyenv rehash && \
48
 
49
  RUN python3.10 -m venv .venv
50
- RUN source .venv/bin/activate
51
  RUN pip install --no-cache-dir -U pip setuptools wheel && \
52
  pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
53
  RUN deactivate
@@ -84,5 +84,5 @@ WORKDIR ${APPDIR}
84
 
85
  # EXPOSE map[11434/tcp:{}]
86
  RUN ollama serve --verbose & sleep 5
87
- RUN source .venv/bin/activate
88
  ENTRYPOINT python app.py --verbose
 
47
  # pyenv rehash && \
48
 
49
  RUN python3.10 -m venv .venv
50
+ RUN . .venv/bin/activate
51
  RUN pip install --no-cache-dir -U pip setuptools wheel && \
52
  pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
53
  RUN deactivate
 
84
 
85
  # EXPOSE map[11434/tcp:{}]
86
  RUN ollama serve --verbose & sleep 5
87
+ RUN . .venv/bin/activate
88
  ENTRYPOINT python app.py --verbose