Spaces:
Paused
Paused
gkbalu
commited on
Commit
·
ccadc61
1
Parent(s):
534847c
W4 D1 HW
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
FROM python:3.9
|
2 |
-
RUN mkdir -p $HOME/app/data/vectorstore && chown -R user:user $HOME/app/data
|
3 |
RUN useradd -m -u 1000 user
|
4 |
USER user
|
5 |
ENV HOME=/home/user \
|
@@ -8,5 +7,6 @@ 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 |
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|
|
|
1 |
FROM python:3.9
|
|
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
ENV HOME=/home/user \
|
|
|
7 |
COPY --chown=user . $HOME/app
|
8 |
COPY ./requirements.txt ~/app/requirements.txt
|
9 |
RUN pip install -r requirements.txt
|
10 |
+
RUN mkdir -p $HOME/app/data/vectorstore && chown -R user:user $HOME/app/data
|
11 |
COPY . .
|
12 |
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|