fix(dockerfile):

This commit is contained in:
Alexander Myasoedov
2025-01-20 22:42:57 +02:00
parent 304a347197
commit da6ae2c663
+3 -3
View File
@@ -8,11 +8,11 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
# Ensure Poetry is available in PATH
ENV PATH="/root/.local/bin:$PATH"
RUN poetry self add "poetry-plugin-export"
COPY pyproject.toml poetry.lock ./
RUN poetry self add "poetry-plugin-export" &&
poetry export -f requirements.txt --without-hashes -o requirements.txt &&
pip install --no-cache-dir -r requirements.txt
RUN poetry export -f requirements.txt --without-hashes -o requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . .