mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: org wide ai features check
This commit is contained in:
parent
de93d56945
commit
077c26ce15
24 changed files with 573 additions and 163 deletions
|
|
@ -7,13 +7,19 @@ RUN pip install poetry
|
|||
#
|
||||
WORKDIR /usr/learnhouse/apps/api
|
||||
|
||||
#
|
||||
COPY ./requirements.txt /usr/learnhouse/requirements.txt
|
||||
# Copy poetry.lock* in case it doesn't exist in the repo
|
||||
COPY ./poetry.lock* /usr/learnhouse/
|
||||
|
||||
#
|
||||
RUN poetry config virtualenvs.create false \
|
||||
&& pip install --upgrade pip \
|
||||
&& pip install -r /usr/learnhouse/requirements.txt
|
||||
# Copy project requirement files here to ensure they will be cached.
|
||||
COPY pyproject.toml /usr/learnhouse/
|
||||
|
||||
# Install poetry
|
||||
RUN pip install --upgrade pip \
|
||||
&& pip install poetry \
|
||||
&& poetry config virtualenvs.create false
|
||||
|
||||
# Install project dependencies.
|
||||
RUN poetry install --no-interaction --no-ansi
|
||||
|
||||
#
|
||||
COPY ./ /usr/learnhouse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue