Xavier Antonio Ochoa Chehab commited on
Commit ·
3d48459
1
Parent(s): a7b1694
New commit
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -10,10 +10,9 @@ 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 |
-
|
| 14 |
RUN pip install uv
|
| 15 |
RUN uv pip install --no-cache-dir --upgrade -r requirements.txt
|
| 16 |
|
| 17 |
COPY --chown=user . /app
|
| 18 |
-
|
| 19 |
-
CMD ["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
|
| 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"]
|
|
|