# Used to build a test image. FROM swift:5.10 WORKDIR /app COPY ./Package.* ./ RUN swift package resolve COPY . . RUN swift build CMD ["/bin/bash", "-xc", "swift", "test"]