feat: cleanup Dockerfiles and use prepared image for deployments
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 1m46s

This commit is contained in:
2026-01-20 19:12:56 +01:00
parent de799c2d55
commit fffa8c7cdf
2 changed files with 1 additions and 18 deletions

View File

@@ -1,14 +1,4 @@
FROM node:24-alpine AS builder
# Install system dependencies
RUN apk add --no-cache curl g++ gcc make libc-dev
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile minimal \
&& rustup target add wasm32-unknown-unknown
FROM jimfx/nodes:latest AS builder
WORKDIR /app
@@ -21,7 +11,6 @@ COPY app/package.json ./app/
RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store \
--mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/app/target \
npm install -g pnpm@latest && \
pnpm install --frozen-lockfile
COPY . .