initial space
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -5,12 +5,10 @@ ENV TZ=Asia/Shanghai
|
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
RUN apk add git
|
| 8 |
-
RUN git clone https://github.com/
|
| 9 |
git pull origin main
|
| 10 |
ADD utils.js src/
|
| 11 |
RUN yarn config set registry https://registry.npmmirror.com/
|
| 12 |
RUN yarn
|
| 13 |
|
| 14 |
-
RUN sed -i 's/\/v1\/chat\/completions/\/proxy\/v1\/chat\/completions/g' src/index.js
|
| 15 |
-
|
| 16 |
CMD ["npm", "run", "start"]
|
|
|
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
RUN apk add git
|
| 8 |
+
RUN git clone https://github.com/Raimbaulty/censor.git . && \
|
| 9 |
git pull origin main
|
| 10 |
ADD utils.js src/
|
| 11 |
RUN yarn config set registry https://registry.npmmirror.com/
|
| 12 |
RUN yarn
|
| 13 |
|
|
|
|
|
|
|
| 14 |
CMD ["npm", "run", "start"]
|