abc1181 commited on
Commit
08e934c
Β·
verified Β·
1 Parent(s): 87c8af6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -18,11 +18,10 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
18
  WORKDIR /app
19
  RUN git clone https://github.com/ItzCrazyKns/Perplexica.git .
20
 
21
- # Copy config before build
22
  COPY config.toml ./config.toml
23
 
24
- # Install dependencies and build
25
- RUN npm ci
26
  RUN npm run build
27
 
28
  # ── Nginx ─────────────────────────────────────────────────────────────────────
@@ -39,4 +38,4 @@ RUN chmod +x /start.sh
39
 
40
  EXPOSE 7860
41
 
42
- CMD ["/start.sh"]
 
18
  WORKDIR /app
19
  RUN git clone https://github.com/ItzCrazyKns/Perplexica.git .
20
 
 
21
  COPY config.toml ./config.toml
22
 
23
+ # βœ… Changed from npm ci to npm install
24
+ RUN npm install
25
  RUN npm run build
26
 
27
  # ── Nginx ─────────────────────────────────────────────────────────────────────
 
38
 
39
  EXPOSE 7860
40
 
41
+ CMD ["/start.sh"]