diff --git a/tc-wiremock.go b/tc-wiremock.go index 94ed45c..9d10f5e 100644 --- a/tc-wiremock.go +++ b/tc-wiremock.go @@ -94,7 +94,7 @@ func WithMappingFile(id string, filePath string) testcontainers.CustomizeRequest return func(req *testcontainers.GenericContainerRequest) error { cfgFile := testcontainers.ContainerFile{ HostFilePath: filePath, - ContainerFilePath: filepath.Join("/home/wiremock/mappings", id+".json"), + ContainerFilePath: "/home/wiremock/mappings/" + id + ".json", FileMode: 0755, }