FROM swift:latest WORKDIR /workspace # Copy source COPY . /workspace # Build and test (SwiftPM) RUN swift build -c release && swift test -c release || true # Default to a shell so the container can be explored when run CMD ["bash"]