feat(dependencies): switch to Poetry

This commit is contained in:
2024-11-28 20:54:12 +00:00
parent 5e72d44b95
commit c04d23f85d
6 changed files with 16 additions and 69 deletions

View File

@ -8,10 +8,13 @@ WORKDIR /run
RUN mkdir -p /.local && \
chmod -R 777 /.local && \
pip install -U pip
pip install -U pip poetry
COPY requirements.txt /run/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY pyproject.toml /run/pyproject.toml
COPY poetry.lock /run/poetry.lock
RUN poetry config virtualenvs.create false && \
poetry install --without dev
ENTRYPOINT ["python3", "-B", "-m", "app.main"]