From 0aa53b32076f48b54fedc44e83efb56faeae68c8 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 22 Sep 2024 13:33:15 -0400 Subject: [PATCH] make website builds puny Signed-off-by: Xe Iaso --- Earthfile | 5 ++--- app/about/page.tsx | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Earthfile b/Earthfile index ae22762..147a80b 100644 --- a/Earthfile +++ b/Earthfile @@ -1,7 +1,7 @@ VERSION 0.8 ARG NODE_VERSION=22 -FROM node:${NODE_VERSION}-slim +FROM node:${NODE_VERSION}-alpine WORKDIR /app @@ -9,8 +9,7 @@ ENV NODE_ENV="production" build: - RUN apt-get update -qq && \ - apt-get install --no-install-recommends -y build-essential node-gyp pkg-config python-is-python3 + RUN apk -U add build-base gyp pkgconfig python3 COPY package-lock.json package.json ./ RUN npm ci --include=dev diff --git a/app/about/page.tsx b/app/about/page.tsx index 0c19bab..d0f09c5 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -23,8 +23,8 @@ const TeamMember = ({
{name}