Spaces:
Build error
Build error
Leo
commited on
Commit
·
2210b8b
1
Parent(s):
d78bd21
Fix to Dockerfile
Browse filesaccidentally did not save after fixing merge conflicts
- Dockerfile +0 -16
Dockerfile
CHANGED
@@ -1,18 +1,3 @@
|
|
1 |
-
<<<<<<< HEAD
|
2 |
-
FROM python:3.9
|
3 |
-
RUN useradd -m -u 1000 user
|
4 |
-
USER user
|
5 |
-
ENV HOME=/home/user \
|
6 |
-
PATH=/home/user/.local/bin:$PATH
|
7 |
-
WORKDIR $HOME/app
|
8 |
-
COPY --chown=user . $HOME/app
|
9 |
-
COPY ./requirements.txt ~/app/requirements.txt
|
10 |
-
RUN pip install -r requirements.txt
|
11 |
-
COPY . .
|
12 |
-
#Force install specific chainlit version
|
13 |
-
RUN pip install chainlit==2.3.0
|
14 |
-
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|
15 |
-
=======
|
16 |
# Get a distribution that has uv already installed
|
17 |
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
|
18 |
|
@@ -55,4 +40,3 @@ EXPOSE 7860
|
|
55 |
|
56 |
# Run the app
|
57 |
CMD ["uv", "run", "chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|
58 |
-
>>>>>>> main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Get a distribution that has uv already installed
|
2 |
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
|
3 |
|
|
|
40 |
|
41 |
# Run the app
|
42 |
CMD ["uv", "run", "chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|
|