sepidnes commited on
Commit
00bc21c
·
verified ·
1 Parent(s): f5e11a2

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -31
Dockerfile DELETED
@@ -1,31 +0,0 @@
1
-
2
- # Get a distribution that has uv already installed
3
- FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
4
-
5
- # Add user - this is the user that will run the app
6
- # If you do not set user, the app will run as root (undesirable)
7
- RUN useradd -m -u 1000 user
8
- USER user
9
-
10
- # Set the home directory and path
11
- ENV HOME=/home/user \
12
- PATH=/home/user/.local/bin:$PATH
13
-
14
- ENV UVICORN_WS_PROTOCOL=websockets
15
-
16
-
17
- # Set the working directory
18
- WORKDIR $HOME/app
19
-
20
- # Copy the app to the container
21
- COPY --chown=user . $HOME/app
22
-
23
- # Install the dependencies
24
- # RUN uv sync --frozen
25
- RUN uv sync
26
-
27
- # Expose the port
28
- EXPOSE 7860
29
-
30
- # Run the app
31
- CMD ["uv", "run", "chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]