ericchang00's picture
add screenshot42-taskmanager-projectdetail task (build 2ecba08)
160f5ce verified
Raw History Blame Contribute Delete
837 Bytes
FROM node:22-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 python3-pip python3-venv \
curl ca-certificates procps lsof bash \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m venv /opt/venv && \
/opt/venv/bin/pip install --no-cache-dir \
pytest==8.4.1 \
pytest-json-ctrf==0.3.5 \
playwright==1.48.0 \
requests==2.32.3
RUN /opt/venv/bin/playwright install --with-deps chromium
ENV PATH="/opt/venv/bin:${PATH}"
COPY reference.png /app/reference.png
COPY app/. /app/
RUN /opt/venv/bin/pip install --no-cache-dir -r /app/backend/requirements.txt
RUN cd /app/frontend && npm install --silent
COPY pristine/ProjectDetail.golden.jsx /opt/golden-reference/ProjectDetail.jsx
COPY pristine/App.golden.jsx /opt/golden-reference/App.jsx
WORKDIR /app