Create Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:lts-alpine3.19
|
2 |
+
RUN apk add git curl bash wget sudo
|
3 |
+
WORKDIR /code
|
4 |
+
RUN git clone https://github.com/xLmiler/DocsAnthropic2API .
|
5 |
+
RUN npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force
|
6 |
+
COPY . .
|
7 |
+
ENV PORT=7860
|
8 |
+
EXPOSE 7860
|
9 |
+
CMD ["npm", "start"]
|