Files
full-stack-fastapi-template/frontend/Dockerfile.playwright
T
Sebastián Ramírezandgithub-actions[bot] e80d92452e ♻️ Serve frontend from FastAPI (#2393)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-30 21:41:08 +02:00

20 lines
373 B
Docker

FROM mcr.microsoft.com/playwright:v1.61.1-noble
WORKDIR /app
RUN apt-get update && apt-get install -y unzip \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://bun.sh/install | bash
ENV PATH="/root/.bun/bin:$PATH"
COPY package.json bun.lock /app/
COPY frontend/package.json /app/frontend/
WORKDIR /app/frontend
RUN bun install
COPY ./frontend /app/frontend