add_pypi_proxy #42
+2
-1
@@ -31,7 +31,8 @@ ENV PATH="${POETRY_HOME}/bin:$PATH"
|
||||
WORKDIR ${APP_HOME}
|
||||
COPY ./poetry.lock ./pyproject.toml ./
|
||||
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \
|
||||
--with shared,model
|
||||
--with shared,model \
|
||||
--no-root
|
||||
|
||||
# final stage
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
+2
-1
@@ -31,7 +31,8 @@ ENV PATH="${POETRY_HOME}/bin:$PATH"
|
||||
WORKDIR ${APP_HOME}
|
||||
COPY ./poetry.lock ./pyproject.toml ./
|
||||
RUN --mount=type=cache,target=${POETRY_CACHE_DIR} poetry install \
|
||||
--with shared,web_ui
|
||||
--with shared,web_ui \
|
||||
--no-root
|
||||
|
||||
# final stage
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
Reference in New Issue
Block a user