Spaces:
Runtime error
Runtime error
moved root permission
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -20,7 +20,7 @@ ENV UVICORN_WS_PROTOCOL=websockets
|
|
20 |
|
21 |
# Set the working directory
|
22 |
WORKDIR $HOME/app
|
23 |
-
|
24 |
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=$HOME/app sh
|
25 |
|
26 |
# # Copy the app to the container
|
@@ -33,4 +33,5 @@ RUN uv sync --frozen
|
|
33 |
|
34 |
# # Expose the ports
|
35 |
EXPOSE 7860 6333
|
|
|
36 |
ENTRYPOINT ["./entrypoint.sh"]
|
|
|
20 |
|
21 |
# Set the working directory
|
22 |
WORKDIR $HOME/app
|
23 |
+
|
24 |
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=$HOME/app sh
|
25 |
|
26 |
# # Copy the app to the container
|
|
|
33 |
|
34 |
# # Expose the ports
|
35 |
EXPOSE 7860 6333
|
36 |
+
USER root
|
37 |
ENTRYPOINT ["./entrypoint.sh"]
|