File tree Expand file tree Collapse file tree 4 files changed +205
-101
lines changed
Expand file tree Collapse file tree 4 files changed +205
-101
lines changed Original file line number Diff line number Diff line change 1313.gitignore
1414.pytest_cache
1515Dockerfile
16- README.md
1716build
1817data
1918dist
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ RUN apt update \
1111 && apt clean \
1212 && rm -rf /var/lib/apt/lists/*
1313
14- COPY requirements/ /app/requirements
15- RUN pip install --no-cache-dir -U pip \
16- && pip install --no-cache-dir -r /app/requirements/base.txt \
17- && pip install --no-cache-dir -r /app/requirements/cli.txt \
18- && pip install --no-cache-dir -r /app/requirements/livechat.txt \
19- && pip install --no-cache-dir -r /app/requirements/transcription.txt \
20- && if [ "$DEV_BUILD" = "true" ]; then pip install --no-cache-dir -r /app/requirements/dev.txt; fi
21-
2214COPY . /app/
15+
16+ RUN pip install --no-cache-dir -U --upgrade pip \
17+ && if [ "$DEV_BUILD" = "true" ]; \
18+ then \
19+ pip install poetry==1.4.2; \
20+ poetry export -f requirements.txt --output requirements.txt --without-hashes --with dev; \
21+ pip install --no-cache-dir -r requirements.txt; \
22+ else pip install /app; fi
You can’t perform that action at this time.
0 commit comments