mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-31 01:42:27 +00:00
19 lines
404 B
Docker
19 lines
404 B
Docker
# Base image matching the Playwright version in package.json
|
|
FROM mcr.microsoft.com/playwright:v1.58.0-jammy
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy package files
|
|
COPY package.json package-lock.json ./
|
|
|
|
# Install dependencies
|
|
# We use npm ci for a clean, deterministic install
|
|
RUN npm ci
|
|
|
|
# Copy the rest of the application source code
|
|
COPY . .
|
|
|
|
# Default command
|
|
CMD ["npm", "run", "test:visual"]
|