22 lines
419 B
Docker
22 lines
419 B
Docker
FROM python:3.10-slim
|
|
|
|
COPY /docker/UI/requirements_UI.txt /tmp/requirements_UI.txt
|
|
|
|
RUN pip install --no-cache-dir -r /tmp/requirements_UI.txt
|
|
|
|
RUN rm /tmp/requirements_UI.txt
|
|
|
|
COPY dependences /dependences
|
|
|
|
COPY /UI/persistence /UI/persistence
|
|
COPY /UI/dependences_ui /UI/dependences_ui
|
|
COPY /UI/wcag_validator_ui.py /UI/wcag_validator_ui.py
|
|
|
|
EXPOSE 7860
|
|
|
|
WORKDIR /UI
|
|
CMD ["python", "-u", "wcag_validator_ui.py"]
|
|
|
|
|
|
|