make website builds puny

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2024-09-22 13:33:15 -04:00
parent 8610c277af
commit 0aa53b3207
Signed by: xe
SSH Key Fingerprint: SHA256:4VmLEcSFkJqNVktQ6/3CA2uSk8wGZ8VEzLmTQTyjngM
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -23,8 +23,8 @@ const TeamMember = ({
<div className="text-center">
<Image
className="mx-auto h-40 w-40 rounded-full"
width={256}
height={256}
width={128}
height={128}
src={image}
alt={name}
/>