Update Dockerfile
Browse files- Dockerfile +8 -13
Dockerfile
CHANGED
@@ -1,16 +1,11 @@
|
|
1 |
-
FROM
|
2 |
-
RUN apt update
|
3 |
-
RUN apt install -y cmake make gcc g++ git
|
4 |
-
RUN git clone https://github.com/ggerganov/llama.cpp
|
5 |
-
RUN mkdir /code && mv llama.cpp/* /code
|
6 |
-
RUN cd /code && make -j
|
7 |
-
RUN wget https://huggingface.co/eachadea/legacy-ggml-vicuna-13b-4bit/resolve/main/ggml-vicuna-13b-4bit.bin -P /code
|
8 |
-
WORKDIR /code
|
9 |
|
10 |
-
RUN
|
|
|
|
|
|
|
|
|
11 |
|
12 |
-
COPY app.py /code
|
13 |
-
RUN pip install --user notebook-shim
|
14 |
-
RUN chmod -R 777 /.local
|
15 |
EXPOSE 7860
|
16 |
-
|
|
|
|
1 |
+
FROM node:14-alpine
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
+
RUN apk add --no-cache tini bash
|
4 |
+
RUN mkdir -p /usr/src/app
|
5 |
+
WORKDIR /usr/src/app
|
6 |
+
|
7 |
+
RUN npm install webterm -g
|
8 |
|
|
|
|
|
|
|
9 |
EXPOSE 7860
|
10 |
+
ENTRYPOINT ["/sbin/tini", "--"]
|
11 |
+
CMD ["webterm", "--port", "7860"]
|