Skip to content

Commit

Permalink
fix(docker): remove non-ascii symbols from client-only dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Heymdall committed Oct 16, 2024
1 parent 8b75f20 commit 20e19ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nice-moose-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'arui-scripts': patch
---

Из шаблона докерфайла убрана кирилица, которая ломала сборку на некоторых CI
2 changes: 1 addition & 1 deletion packages/arui-scripts/src/templates/dockerfile.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"]' : ''}
`;

Expand Down

0 comments on commit 20e19ae

Please sign in to comment.