Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -10
Dockerfile
CHANGED
@@ -8,23 +8,19 @@ RUN mkdir /dep
|
|
8 |
WORKDIR /dep
|
9 |
RUN git clone https://github.com/jaigouk/claude-proxy-api.git
|
10 |
WORKDIR /dep/claude-proxy-api
|
11 |
-
|
12 |
-
RUN useradd -m -u 1000 user
|
13 |
-
USER user
|
14 |
-
ENV PATH="/home/user/.local/bin:$PATH"
|
15 |
RUN pip install -r requirements.txt
|
16 |
-
COPY
|
17 |
|
18 |
WORKDIR /app
|
19 |
|
20 |
-
COPY
|
21 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
22 |
|
23 |
RUN mkdir -p ./ragtest/input
|
24 |
-
|
25 |
RUN curl https://huggingface.co/spaces/npc0/POM-QA/resolve/main/knowledge_extraction.csv > ./ragtest/input/book.txt
|
26 |
-
COPY
|
27 |
-
COPY
|
28 |
-
COPY
|
29 |
RUN chmod +x run.sh
|
30 |
ENTRYPOINT ["/app/run.sh"]
|
|
|
8 |
WORKDIR /dep
|
9 |
RUN git clone https://github.com/jaigouk/claude-proxy-api.git
|
10 |
WORKDIR /dep/claude-proxy-api
|
|
|
|
|
|
|
|
|
11 |
RUN pip install -r requirements.txt
|
12 |
+
COPY proxy.env ./.env
|
13 |
|
14 |
WORKDIR /app
|
15 |
|
16 |
+
COPY ./requirements.txt requirements.txt
|
17 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
18 |
|
19 |
RUN mkdir -p ./ragtest/input
|
20 |
+
RUN curl https://secure.ssa.gov/apps10/poms.nsf/lnx/0500502100 > ./ragtest/input/ref.txt
|
21 |
RUN curl https://huggingface.co/spaces/npc0/POM-QA/resolve/main/knowledge_extraction.csv > ./ragtest/input/book.txt
|
22 |
+
COPY ./settings.yaml /app
|
23 |
+
COPY ./app.py /app
|
24 |
+
COPY ./run.sh run.sh
|
25 |
RUN chmod +x run.sh
|
26 |
ENTRYPOINT ["/app/run.sh"]
|