2ch commited on
Commit
a0cc4c2
·
verified ·
1 Parent(s): d42ff86

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -1
Dockerfile CHANGED
@@ -1 +1,12 @@
1
- FROM mintplexlabs/anythingllm
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:alpine
2
+ RUN apk add git curl bash wget sudo
3
+ WORKDIR /app
4
+ RUN git clone https://github.com/anse-app/anse .
5
+ RUN npm install -g pnpm
6
+ COPY package.json pnpm-lock.yaml ./
7
+ RUN pnpm install
8
+ COPY . .
9
+ RUN pnpm run build
10
+ ENV HOST=0.0.0.0 PORT=7860 NODE_ENV=production
11
+ EXPOSE $PORT
12
+ CMD ["node", "dist/server/entry.mjs"]