frontend build
This commit is contained in:
29
frontend/Dockerfile.playwright
Normal file
29
frontend/Dockerfile.playwright
Normal file
@@ -0,0 +1,29 @@
|
||||
# FROM node:20
|
||||
|
||||
# WORKDIR /app
|
||||
|
||||
# COPY package*.json /app/
|
||||
|
||||
# RUN npm install
|
||||
|
||||
# RUN npx -y playwright install --with-deps
|
||||
|
||||
# COPY ./ /app/
|
||||
|
||||
# ARG VITE_API_URL=${VITE_API_URL}
|
||||
|
||||
|
||||
|
||||
FROM node:20
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json /app/
|
||||
RUN npm config set registry https://registry.npmmirror.com/
|
||||
|
||||
RUN npm install playwright
|
||||
|
||||
COPY ./ /app/
|
||||
|
||||
ARG VITE_API_URL=${VITE_API_URL}
|
||||
|
||||
Reference in New Issue
Block a user