Delete Dockerfile
Browse files- Dockerfile +0 -24
Dockerfile
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
FROM python:3.9
|
2 |
-
|
3 |
-
WORKDIR /
|
4 |
-
|
5 |
-
|
6 |
-
RUN useradd -m -u 1000 user
|
7 |
-
USER user
|
8 |
-
ENV HOME=/home/user \
|
9 |
-
PATH=/home/user/.local/bin:$PATH
|
10 |
-
|
11 |
-
RUN mkdir $HOME/.cache
|
12 |
-
#RUN mkdir $HOME/.chroma_db
|
13 |
-
|
14 |
-
|
15 |
-
# Create a writeable cache directory
|
16 |
-
#RUN mkdir -p /.cache && chmod 777 /.cache
|
17 |
-
|
18 |
-
COPY ./requirements.txt /code/requirements.txt
|
19 |
-
|
20 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
21 |
-
|
22 |
-
COPY . .
|
23 |
-
|
24 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|