From 20e19aebabe69d6563ce2e0f6d7b9f5b71c6d16d Mon Sep 17 00:00:00 2001 From: Aleksandr Kitov Date: Wed, 16 Oct 2024 10:56:44 +0300 Subject: [PATCH] fix(docker): remove non-ascii symbols from client-only dockerfile --- .changeset/nice-moose-bathe.md | 5 +++++ packages/arui-scripts/src/templates/dockerfile.template.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/nice-moose-bathe.md diff --git a/.changeset/nice-moose-bathe.md b/.changeset/nice-moose-bathe.md new file mode 100644 index 00000000..5837485f --- /dev/null +++ b/.changeset/nice-moose-bathe.md @@ -0,0 +1,5 @@ +--- +'arui-scripts': patch +--- + +Из шаблона докерфайла убрана кирилица, которая ломала сборку на некоторых CI diff --git a/packages/arui-scripts/src/templates/dockerfile.template.ts b/packages/arui-scripts/src/templates/dockerfile.template.ts index dc0da37f..3ce28557 100644 --- a/packages/arui-scripts/src/templates/dockerfile.template.ts +++ b/packages/arui-scripts/src/templates/dockerfile.template.ts @@ -30,7 +30,7 @@ ADD $NGINX_CONF_LOCATION ${nginxConfTargetLocation} ${nginxNonRootPart} ${configs.runFromNonRootUser ? `ADD --chown=nginx:nginx ${appPathToAdd} ${appTargetPath}` : `ADD ${appPathToAdd} ${appTargetPath}`} -${configs.clientOnly ? 'COPY env-config.jso[n] /src/ # конструкция с [n] нужная чтобы копирование было опциональным. Если файла не будет - сборка не упадёт' : ''} +${configs.clientOnly ? 'COPY env-config.jso[n] /src/' : ''} ${configs.clientOnly ? 'CMD ["nginx"]' : ''} `;