Skip to content

Commit

Permalink
Fix asset error for build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
QuinnGT authored and bigadsoleiman committed Dec 15, 2023
1 parent 6492f59 commit f4d552e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/shared/shared-asset-bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export class SharedAssetBundler extends Construct {
{
path: assetPath,
bundling: {
image: DockerImage.fromBuild(path.join(__dirname, "alpine-zip")),
command: ["zip", "-r", path.join("/asset-output", "asset.zip"), "."],
image: DockerImage.fromBuild(path.posix.join(__dirname, "alpine-zip")),
command: ["zip", "-r", path.posix.join("/asset-output", "asset.zip"), "."],
volumes: this.sharedAssets.map((f) => ({
containerPath: path.join(this.WORKING_PATH, path.basename(f)),
containerPath: path.posix.join(this.WORKING_PATH, path.basename(f)),
hostPath: f,
})),
workingDirectory: this.WORKING_PATH,
Expand Down

0 comments on commit f4d552e

Please sign in to comment.