Skip to content

Commit

Permalink
Fix exposed ports issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-pek committed Mar 2, 2024
1 parent 2235022 commit 4af56cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/modules/supertokens/src/supertokens-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class SupertokensContainer extends GenericContainer {
}

protected override async beforeContainerCreated(): Promise<void> {
this.withExposedPorts(...(this.hasExposedPorts ? this.exposedPorts : [SUPERTOKENS_PORT]))
this.withExposedPorts(...(this.exposedPorts ?? [SUPERTOKENS_PORT]))
.withWaitStrategy(Wait.forHttp("/hello", SUPERTOKENS_PORT))
.withStartupTimeout(120_000);
}
Expand Down

0 comments on commit 4af56cc

Please sign in to comment.