123456789101112131415161718 |
- FROM python:3.8-slim
- RUN apt update && apt install curl build-essential -y
- # We use Poetry for dependency management
- RUN curl -sSL https://install.python-poetry.org | python3 - && \
- cd /usr/local/bin && \
- ln -s ~/.local/bin/poetry && \
- poetry config virtualenvs.create false
- WORKDIR /app
- COPY . .
- RUN poetry install --all-extras
- RUN pip install latex2mathml
- CMD python3 -m debugpy --listen 5678 main.py
|