Files
full-stack-fastapi-template/frontend/Dockerfile.playwright

30 lines
370 B
Docker
Raw Permalink Normal View History

2025-07-22 22:53:54 +08:00
# 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/
2025-07-22 22:53:54 +08:00
RUN npm config set registry https://registry.npmmirror.com/
2025-07-22 22:53:54 +08:00
RUN npm install playwright
COPY ./ /app/
ARG VITE_API_URL=${VITE_API_URL}
2025-07-22 22:53:54 +08:00