Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

update docker base images

daniel31x13515d13f0ecfb
diff --git a/Dockerfile b/Dockerfile
index 85e07dff..41f5c0a7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,13 @@
# ==============================================================================
# Stage 1: Monolith Builder
# ==============================================================================
-FROM docker.io/rust:1.86-bullseye AS monolith-builder
+FROM docker.io/rust:1.96-bullseye AS monolith-builder
RUN set -eux && cargo install --locked monolith
# ==============================================================================
# Stage 2: App Builder (Where the heavy building happens)
# ==============================================================================
-FROM node:20.19.6-bullseye-slim AS app-builder
+FROM node:22.23-bullseye-slim AS app-builder
ENV YARN_HTTP_TIMEOUT=10000000
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
@@ -47,7 +47,7 @@ RUN yarn workspaces focus --production linkwarden @linkwarden/web @linkwarden/wo
# ==============================================================================
# Stage 3: Final Runtime (This stage will be ~400MB total)
# ==============================================================================
-FROM node:20.19.6-bullseye-slim AS main-app
+FROM node:22.23-bullseye-slim AS main-app
ENV NODE_ENV=production
ENV PRISMA_HIDE_UPDATE_MESSAGE=1
# Stable, copyable browser location shared by install and runtime
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
new file mode 100644
index 00000000..93c7d770
--- /dev/null
+++ b/docker-compose.dev.yml
@@ -0,0 +1,3 @@
+services:
+ linkwarden:
+ build: .
diff --git a/docker-compose.yml b/docker-compose.yml
index 6523d840..1c7c9ed3 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -10,8 +10,7 @@ services:
environment:
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
restart: always
- # build: . # uncomment to build from source
- image: ghcr.io/linkwarden/linkwarden:latest # comment to build from source
+ image: ghcr.io/linkwarden/linkwarden:latest
ports:
- 3000:3000
volumes: