diff --git a/.changeset/seven-fishes-promise.md b/.changeset/seven-fishes-promise.md new file mode 100644 index 00000000..3fbbea2f --- /dev/null +++ b/.changeset/seven-fishes-promise.md @@ -0,0 +1,5 @@ +--- +'arui-scripts': patch +--- + +возможное исправление docker-build для windows diff --git a/packages/arui-scripts/src/commands/util/docker-build.ts b/packages/arui-scripts/src/commands/util/docker-build.ts index aa4cade5..ce448b29 100644 --- a/packages/arui-scripts/src/commands/util/docker-build.ts +++ b/packages/arui-scripts/src/commands/util/docker-build.ts @@ -121,9 +121,7 @@ export function getDockerBuildCommand({ tempDirName, imageFullName }: DockerBuil return `docker build ${ canUsePlatformFlag ? '--platform linux/x86_64' : '' - } -f "./${tempDirName}/Dockerfile" \\ - --build-arg START_SH_LOCATION="./${tempDirName}/start.sh" \\ - --build-arg NGINX_CONF_LOCATION="./${tempDirName}/nginx.conf" -t ${imageFullName} .`; + } -f "./${tempDirName}/Dockerfile" --build-arg START_SH_LOCATION="./${tempDirName}/start.sh" --build-arg NGINX_CONF_LOCATION="./${tempDirName}/nginx.conf" -t ${imageFullName} .`; } async function getAndModifyDockerIgnoreContent(dockerIgnoreFilePath: string) {