Xavier Antonio Ochoa Chehab commited on
Commit
e2a2beb
·
1 Parent(s): 517d85c

New commit

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