Skip to content

Commit cda9d41

Browse files
Fix Dockerfile
1 parent bc74a1f commit cda9d41

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ RUN swift package resolve
2727
COPY . .
2828
RUN swift build -c release --static-swift-stdlib
2929

30+
RUN cd Resources/branch_release-5.9 && swift build -c release --static-swift-stdlib
31+
RUN cd Resources/branch_main && swift build -c release --static-swift-stdlib
32+
3033
WORKDIR /staging
3134

3235
RUN cp "$(swift build --package-path /build -c release --show-bin-path)/App" ./

Sources/App/routes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func routes(_ app: Application) throws {
7171
let processResult = try await process.waitUntilExit()
7272

7373
let stdout = try processResult.utf8Output()
74-
let stderr = try processResult.utf8stderrOutput()
74+
let stderr = try processResult.utf8stderrOutput()
7575

7676
return (stdout, stderr)
7777
}

0 commit comments

Comments
 (0)