Spaces:
Runtime error
Runtime error
Reverted back
Browse files- Dockerfile +4 -0
- entrypoint.sh +1 -1
Dockerfile
CHANGED
@@ -11,6 +11,8 @@ RUN sh /uv-installer.sh && rm /uv-installer.sh
|
|
11 |
# # Set te home directory and path
|
12 |
ENV HOME=/home/user \
|
13 |
PATH="/home/user/.local/bin:/root/.local/bin/:$PATH"
|
|
|
|
|
14 |
|
15 |
|
16 |
# # NEEDED FOR CHAINLIT IN HUGGING FACE SPACES
|
@@ -19,8 +21,10 @@ ENV UVICORN_WS_PROTOCOL=websockets
|
|
19 |
# # Set the working directory
|
20 |
WORKDIR $HOME/app
|
21 |
|
|
|
22 |
# # Copy the app to the container
|
23 |
COPY --chown=user . $HOME/app
|
|
|
24 |
RUN chmod +x entrypoint.sh
|
25 |
# # Install the dependencies
|
26 |
RUN uv sync --frozen
|
|
|
11 |
# # Set te home directory and path
|
12 |
ENV HOME=/home/user \
|
13 |
PATH="/home/user/.local/bin:/root/.local/bin/:$PATH"
|
14 |
+
|
15 |
+
|
16 |
|
17 |
|
18 |
# # NEEDED FOR CHAINLIT IN HUGGING FACE SPACES
|
|
|
21 |
# # Set the working directory
|
22 |
WORKDIR $HOME/app
|
23 |
|
24 |
+
|
25 |
# # Copy the app to the container
|
26 |
COPY --chown=user . $HOME/app
|
27 |
+
|
28 |
RUN chmod +x entrypoint.sh
|
29 |
# # Install the dependencies
|
30 |
RUN uv sync --frozen
|
entrypoint.sh
CHANGED
@@ -8,5 +8,5 @@ echo "Qdrant is ready!"
|
|
8 |
# Start Chainlit application using Uvicorn
|
9 |
echo "Starting Chainlit application..."
|
10 |
echo "Current path: $PATH"
|
11 |
-
|
12 |
|
|
|
8 |
# Start Chainlit application using Uvicorn
|
9 |
echo "Starting Chainlit application..."
|
10 |
echo "Current path: $PATH"
|
11 |
+
uv run chainlit run app.py --host 0.0.0.0 --port 7860
|
12 |
|