jokyone commited on
Commit
22a0a26
·
verified ·
1 Parent(s): 687e4d2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -1,4 +1,5 @@
1
- FROM node:18-alpine
 
2
 
3
  ENV USER ${USER:-node}
4
  ENV USER_ID ${USER_ID:-1000}
@@ -9,10 +10,10 @@ COPY . /app
9
 
10
  RUN apk add curl wget supervisor git py3-flask
11
 
12
- RUN git clone https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git && \
13
- cd ChatGPT-Next-Web && \
14
- npm install && \
15
- npm run build
16
 
17
  RUN curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o cloudflared && \
18
  chmod +x cloudflared
 
1
+ #FROM node:18-alpine
2
+ FROM yidadaa/chatgpt-next-web
3
 
4
  ENV USER ${USER:-node}
5
  ENV USER_ID ${USER_ID:-1000}
 
10
 
11
  RUN apk add curl wget supervisor git py3-flask
12
 
13
+ #RUN git clone https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git && \
14
+ # cd ChatGPT-Next-Web && \
15
+ # npm install && \
16
+ # npm run build
17
 
18
  RUN curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o cloudflared && \
19
  chmod +x cloudflared