Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.9
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
ENV HOME=/home/user \
|
@@ -8,4 +8,4 @@ COPY --chown=user . $HOME/app
|
|
8 |
COPY ./requirements.txt ~/app/requirements.txt
|
9 |
RUN pip install -r requirements.txt
|
10 |
COPY . .
|
11 |
-
CMD ["chainlit", "run", "app.py", "
|
|
|
1 |
+
FROM python:3.9-slim
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
ENV HOME=/home/user \
|
|
|
8 |
COPY ./requirements.txt ~/app/requirements.txt
|
9 |
RUN pip install -r requirements.txt
|
10 |
COPY . .
|
11 |
+
CMD ["chainlit", "run", "app.py", "w"]
|