Xavier Antonio Ochoa Chehab commited on
Commit ·
8a1e64f
1
Parent(s): 3d48459
New commit
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -11,8 +11,8 @@ 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 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"]
|
|
|
|
| 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"]
|