chore [P-0]: сhore

This commit is contained in:
Vitaly committed 2026-12-02 10:42:01 +03:00
1 parent d13d02fadb
commit 2e48e08b83
389 files changed
+17779 -11492

No files matched your search

+9 -5
View File
@@ -1,4 +1,4 @@
FROM node:lts-alpine as bstage
FROM node:lts-alpine AS bstage
ARG SOURCE_DIRFRONT
ENV SOURCE_DIR=${SOURCE_DIRFRONT}
@@ -12,7 +12,7 @@ COPY ${SOURCE_DIRFRONT}/*.cjs ./
COPY ${SOURCE_DIRFRONT}/.* ./
COPY ${SOURCE_DIR}/*.js ./
RUN npm cache clean --force && npm install
RUN npm ci
COPY ${SOURCE_DIRFRONT} ./
@@ -27,7 +27,12 @@ WORKDIR /back
ARG SOURCE_DIR
ENV SOURCE_DIR=${SOURCE_DIR}
RUN apt-get update && apt-get install -y --no-install-recommends rsync \
RUN set -eux; \
if [ -n "$APT_PROXY" ]; then \
printf 'Acquire::http::Proxy "http://%s";\nAcquire::https::Proxy "http://%s";\n' "$APT_PROXY" "$APT_PROXY" > /etc/apt/apt.conf.d/99proxy; \
fi; \
sed -i '/^Components:/ s/$/ non-free non-free-firmware/' /etc/apt/sources.list.d/debian.sources; \
apt-get update && apt-get install -y --no-install-recommends rsync \
libmariadb-dev-compat \
build-essential \
pkg-config && \
@@ -40,8 +45,7 @@ COPY ${SOURCE_DIR}/pyproject.toml ${SOURCE_DIR}/README.md ./
COPY docker/entries/backend-entrypoint.sh /script/backend-entrypoint.sh
RUN chmod 777 /script/backend-entrypoint.sh && \
python -m pip install --no-cache-dir poetry \
&& poetry config virtualenvs.in-project true \
python -m pip install --no-cache-dir poetry \
&& poetry install --no-interaction --no-ansi
##--without dev,test