Skip to content

Commit

Permalink
Merge pull request #58 from syfxlin/develop
Browse files Browse the repository at this point in the history
fix(pack): Fix volume mount
  • Loading branch information
syfxlin authored Jan 25, 2024
2 parents 3c970f2 + 4d1d6d4 commit 84f5aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/service/pack.context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export class PackContext<Config extends ServiceConfig = ServiceConfig> {
const cpath = volume.cpath;
const readonly = volume.readonly ? "ro" : "rw";
options.Volumes = options.Volumes ?? [];
options.Volumes.push(`${hpath}:${cpath}:${readonly ? "ro" : "rw"}`);
options.Volumes.push(`${hpath}:${cpath}:${readonly}`);
}

try {
Expand Down

0 comments on commit 84f5aa0

Please sign in to comment.