Prepare monorepo

This commit is contained in:
Oliver Traber 2025-03-13 22:11:20 +01:00
parent a1ddb43ed0
commit 938582155d
Signed by: Bluemedia
GPG key ID: C0674B105057136C
61 changed files with 5 additions and 5 deletions

View file

@ -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"]

View file

View file

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "simple-ocpp-cs"
version = "0.1.0"
version = "0.2.0"
description = "A simple OCPP 2.0.1 compliant central system"
authors = ["Bluemedia <hi@bluemedia.dev>"]
readme = "README.md"