mirror of
https://gitlab.vegova.si/rkv/prosojnice.git
synced 2025-05-29 23:20:30 +00:00
Refactor Dockerfile to use node:20 as base image and install playwright dependencies
This commit is contained in:
parent
e527c9febb
commit
42e25e58d2
@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/playwright:v1.38.1 AS build
|
||||
FROM node:20 AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -6,6 +6,9 @@ COPY package.json yarn.lock ./
|
||||
|
||||
RUN yarn install --frozen-lockfile
|
||||
|
||||
# Install playwright dependencies
|
||||
RUN yarn playwright install-deps
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN yarn build
|
||||
|
Loading…
x
Reference in New Issue
Block a user