Skip to content

Commit

Permalink
Merge pull request #229 from core-ds/fix/dockerfile-cmd
Browse files Browse the repository at this point in the history
fix(docker): restore default cmd
  • Loading branch information
heymdall-legal authored Jun 20, 2024
2 parents a16e631 + abc994d commit 0535cc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cool-apricots-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'arui-scripts': patch
---

Исправлен некорректный CMD в dockerfile который мог приводить к ошибкам при запуске проектов
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 @@ ${nginxNonRootPart}
${configs.runFromNonRootUser ? `ADD --chown=nginx:nginx ${appPathToAdd} ${appTargetPath}` : `ADD ${appPathToAdd} ${appTargetPath}`}
${configs.clientOnly ? 'CMD ["nginx"]' : 'CMD ["/bin/sh", "-c" "./start.sh"'}
${configs.clientOnly ? 'CMD ["nginx"]' : ''}
`;

export default applyOverrides('Dockerfile', dockerfileTemplate);

0 comments on commit 0535cc1

Please sign in to comment.