chore(ci): use alpine base for simple docker build

This commit is contained in:
Ashwin Kumar 2026-04-10 20:21:15 +02:00
parent ad9be1ab15
commit 29f3ff5bef

View file

@ -1,4 +1,4 @@
FROM node:20-slim FROM node:20-alpine
WORKDIR /app WORKDIR /app
@ -6,8 +6,8 @@ WORKDIR /app
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
ENV CYPRESS_INSTALL_BINARY=0 ENV CYPRESS_INSTALL_BINARY=0
# Install dependencies # Install build dependencies
RUN apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/apt/lists/* RUN apk add --no-cache python3 make g++
# Copy package files # Copy package files
COPY package*.json ./ COPY package*.json ./