FROM python:3.10-slim COPY /docker/restServer/requirements.txt /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements.txt # Install Playwright browsers and dependencies RUN playwright install --with-deps RUN rm /tmp/requirements.txt COPY persistence /persistence COPY dependences /dependences COPY restserver /restserver COPY wcag_validator_RESTserver.py wcag_validator_RESTserver.py EXPOSE 8000 CMD ["python","wcag_validator_RESTserver.py"]