Use pip-tools to manage dependencies
This commit is contained in:
parent
53aa8da2dd
commit
20309e70fa
8 changed files with 275 additions and 1369 deletions
|
|
@ -1,10 +1,10 @@
|
|||
FROM python:3.7-buster
|
||||
|
||||
RUN pip install poetry
|
||||
FROM python:3.9-bullseye
|
||||
|
||||
WORKDIR /app
|
||||
COPY poetry.lock pyproject.toml /app/
|
||||
RUN mkdir /app/src
|
||||
|
||||
RUN poetry config virtualenvs.create false && poetry install --no-interaction --extras sentry
|
||||
COPY ./requirements /app/requirements
|
||||
|
||||
COPY . /app/
|
||||
RUN pip install -r requirements/production.txt -r requirements/development.txt
|
||||
|
||||
COPY ./src /app/src
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue