chore(ci): use alpine base for simple docker build
This commit is contained in:
parent
ad9be1ab15
commit
29f3ff5bef
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:20-slim
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
@ -6,8 +6,8 @@ WORKDIR /app
|
|||
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||
ENV CYPRESS_INSTALL_BINARY=0
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/apt/lists/*
|
||||
# Install build dependencies
|
||||
RUN apk add --no-cache python3 make g++
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue