Fixed docker tests

This commit is contained in:
2022-04-17 20:05:36 -04:00
parent 41dab0cd30
commit 6b821d47b9
4 changed files with 42 additions and 26 deletions

View File

@@ -1,3 +1,5 @@
# Build the executable
FROM swift as build
WORKDIR /build
COPY ./Package.* ./
@@ -9,5 +11,3 @@ RUN swift build --enable-test-discovery -c release -Xswiftc -g
FROM swift
WORKDIR /run
COPY --from=build /build/.build/release /run