Xavier Antonio Ochoa Chehab commited on
Commit
595da71
·
1 Parent(s): 8a1e64f

New commit

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -10,9 +10,7 @@ ENV PATH="/home/user/.local/bin:$PATH"
10
  WORKDIR /app
11
  COPY --chown=user ./requirements.txt requirements.txt
12
  RUN python -m venv /app/venv
13
- RUN . /app/venv/bin/activate
14
- RUN /app/venv/bin/pip install uv
15
- RUN /app/venv/bin/uv pip install --no-cache-dir --upgrade -r requirements.txt
16
 
17
  COPY --chown=user . /app
18
  CMD ["/app/venv/bin/python","-m","chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]
 
10
  WORKDIR /app
11
  COPY --chown=user ./requirements.txt requirements.txt
12
  RUN python -m venv /app/venv
13
+ RUN . /app/venv/bin/activate && pip install uv && uv pip install --no-cache-dir --upgrade -r requirements.txt
 
 
14
 
15
  COPY --chown=user . /app
16
  CMD ["/app/venv/bin/python","-m","chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]