Prepare monorepo
This commit is contained in:
parent
a1ddb43ed0
commit
938582155d
61 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
|
|||
|
||||
# copy project requirement files here to ensure they will be cached.
|
||||
WORKDIR $PYSETUP_PATH
|
||||
COPY poetry.lock pyproject.toml ./
|
||||
COPY backend/poetry.lock backend/pyproject.toml ./
|
||||
|
||||
# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
|
||||
RUN poetry install
|
||||
|
@ -54,9 +54,9 @@ RUN poetry install
|
|||
FROM python-base AS production
|
||||
ENV FASTAPI_ENV=production
|
||||
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
|
||||
COPY alembic.ini /usr/src/
|
||||
COPY backend/alembic.ini /usr/src/
|
||||
COPY start.sh /usr/src/
|
||||
COPY ./alembic /usr/src/alembic
|
||||
COPY ./app /usr/src/app
|
||||
COPY backend/alembic /usr/src/alembic
|
||||
COPY backend/app /usr/src/app
|
||||
WORKDIR /usr/src
|
||||
CMD ["bash", "start.sh"]
|
Loading…
Add table
Add a link
Reference in a new issue