mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2025-12-06 07:45:35 +01:00
Add linters configs
This commit is contained in:
@@ -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 /
|
||||
COPY ./requirements.txt ./
|
||||
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
|
||||
RUN python -m venv $VENV_PATH \
|
||||
|
||||
Reference in New Issue
Block a user