updated compose to use new dockerfile in root dir

This commit is contained in:
Brian Bjarke Jensen
2024-05-21 08:12:00 +02:00
parent 8c5b58ebf3
commit 1f4f9949fe
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -29,7 +29,7 @@ ENV PATH="${POETRY_HOME}/bin:$PATH"
# install runtime dependencies
WORKDIR ${APP_HOME}
COPY poetry.lock pyproject.toml ./
COPY ../poetry.lock ../pyproject.toml ./
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \
--with shared,web_ui
@@ -49,8 +49,8 @@ RUN mkdir -p /home/app && \
# add code while changing ownership
WORKDIR $APP_HOME
COPY --chown=app:app ./shared ./shared
COPY --chown=app:app ./web_ui/src ./src
COPY --chown=app:app ../shared ./shared
COPY --chown=app:app ./src ./src
# change to the app user
USER app