forked from mtusi2026/mtusi2026lab6
feat: core func lab6, loki, prometeus etc
This commit is contained in:
+4
-1
@@ -5,8 +5,11 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
POETRY_VIRTUALENVS_CREATE=false
|
||||
|
||||
WORKDIR /app
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
pip install --timeout 30 --retries 8 "poetry==2.2.1"
|
||||
COPY poetry.lock pyproject.toml ./
|
||||
RUN pip install --no-cache-dir --timeout 60 --retries 10 "poetry==2.2.1" \
|
||||
RUN --mount=type=cache,target=/root/.cache/pypoetry \
|
||||
poetry config requests.max-retries 6 \
|
||||
&& poetry install --only main --no-root --no-interaction
|
||||
COPY migrations ./migrations
|
||||
COPY src ./src
|
||||
|
||||
Reference in New Issue
Block a user