fix(docker): update base image to node:22-slim and remove platform specification

This commit is contained in:
Willie Zutz 2025-08-18 00:33:18 -06:00
parent bb84381195
commit cc5cfda15b
2 changed files with 2 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM --platform=linux/amd64 node:20-slim AS builder
FROM node:22-slim AS builder
WORKDIR /home/perplexica
@ -16,7 +16,7 @@ RUN yarn build
RUN yarn add --dev @vercel/ncc
RUN yarn ncc build ./src/lib/db/migrate.ts -o migrator
FROM --platform=linux/amd64 node:20-slim
FROM node:22-slim
ENV NEXT_TELEMETRY_DISABLED=1

View file

@ -10,12 +10,9 @@ services:
restart: unless-stopped
app:
image: itzcrazykns1337/perplexica:main
build:
context: .
dockerfile: app.dockerfile
platforms:
- linux/amd64
environment:
- SEARXNG_API_URL=http://searxng:8080
- DATA_DIR=/home/perplexica