moved webui and updated poetry packages
This commit is contained in:
+3
-2
@@ -30,7 +30,8 @@ ENV PATH="${POETRY_HOME}/bin:$PATH"
|
||||
# install runtime dependencies
|
||||
WORKDIR ${APP_HOME}
|
||||
COPY poetry.lock pyproject.toml ./
|
||||
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install --without model
|
||||
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \
|
||||
--with shared,web_ui
|
||||
|
||||
# final stage
|
||||
FROM python:3.12-slim-bookworm
|
||||
@@ -48,7 +49,7 @@ RUN mkdir -p /home/app && \
|
||||
|
||||
# add code while changing ownership
|
||||
WORKDIR $APP_HOME
|
||||
COPY --chown=app:app ./core ./core
|
||||
COPY --chown=app:app ./shared ./shared
|
||||
COPY --chown=app:app ./web_ui/src ./src
|
||||
|
||||
# change to the app user
|
||||
|
||||
Reference in New Issue
Block a user