Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -9
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
|
| 14 |
&& apt-get install -y nodejs \
|
| 15 |
&& rm -rf /var/lib/apt/lists/*
|
| 16 |
|
| 17 |
-
# ──
|
| 18 |
WORKDIR /app
|
| 19 |
RUN git clone https://github.com/ItzCrazyKns/Perplexica.git .
|
| 20 |
|
|
@@ -23,14 +23,6 @@ COPY config.toml ./config.toml
|
|
| 23 |
RUN npm install
|
| 24 |
RUN npm run build
|
| 25 |
|
| 26 |
-
# ── DEBUG: Show us exactly what was built ────────────────────────────────────
|
| 27 |
-
RUN echo "====== package.json scripts ======" && \
|
| 28 |
-
cat package.json | python3 -c "import sys,json; d=json.load(sys.stdin); [print(k,':',v) for k,v in d.get('scripts',{}).items()]" && \
|
| 29 |
-
echo "====== /app/dist contents ======" && \
|
| 30 |
-
find /app/dist -type f 2>/dev/null || echo "No dist folder!" && \
|
| 31 |
-
echo "====== /app root files ======" && \
|
| 32 |
-
ls -la /app/
|
| 33 |
-
|
| 34 |
# ── Nginx ─────────────────────────────────────────────────────────────────────
|
| 35 |
RUN rm -f /etc/nginx/sites-enabled/default
|
| 36 |
COPY nginx.conf /etc/nginx/conf.d/perplexica.conf
|
|
|
|
| 14 |
&& apt-get install -y nodejs \
|
| 15 |
&& rm -rf /var/lib/apt/lists/*
|
| 16 |
|
| 17 |
+
# ── Vane ─────────────────────────────────────────────────────────────────────
|
| 18 |
WORKDIR /app
|
| 19 |
RUN git clone https://github.com/ItzCrazyKns/Perplexica.git .
|
| 20 |
|
|
|
|
| 23 |
RUN npm install
|
| 24 |
RUN npm run build
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
# ── Nginx ─────────────────────────────────────────────────────────────────────
|
| 27 |
RUN rm -f /etc/nginx/sites-enabled/default
|
| 28 |
COPY nginx.conf /etc/nginx/conf.d/perplexica.conf
|