Add linters configs

This commit is contained in:
2022-01-09 02:00:00 +03:00
parent 0aca5399ef
commit 89fe884ae8
15 changed files with 801 additions and 50 deletions

View File

@@ -4,8 +4,11 @@ RUN apt-get update \
&& apt-get install --no-install-recommends -y gcc build-essential python3-dev libpq-dev libffi-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root/venv
COPY ./requirements.txt /root/venv/
WORKDIR /root/poetry
COPY pyproject.toml poetry.lock /root/poetry/
RUN pip install poetry --no-cache-dir \
&& poetry export --without-hashes > requirements.txt
ENV VENV_PATH=/opt/venv