fix(docker): update base image to node:22-slim and remove platform specification
This commit is contained in:
parent
bb84381195
commit
cc5cfda15b
2 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue