Small changes and fix zooming

This commit is contained in:
Andras Schmelczer 2026-05-05 20:30:04 +01:00
parent c69bb0d614
commit 329685a4ee
16 changed files with 823 additions and 202 deletions

View file

@ -1,10 +1,13 @@
# Stage 1: Build frontend
FROM node:22-slim AS frontend
FROM node:22-bookworm-slim AS frontend
WORKDIR /app/frontend
COPY frontend/package.json frontend/package-lock.json ./
RUN npm ci
RUN apt-get update \
&& npx puppeteer browsers install chrome --install-deps \
&& rm -rf /var/lib/apt/lists/*
COPY frontend/ ./
RUN npm run build:no-prerender
RUN npm run build
# Stage 2: Build Rust server
FROM rust:1.84-bookworm AS server