github.com/rohankumardubey/draft-classic@v0.16.0/packs/swift/Dockerfile (about)

     1  FROM swift
     2  
     3  WORKDIR /src
     4  ONBUILD COPY . /src
     5  ONBUILD RUN swift build -c release
     6  
     7  ENV PORT 8080
     8  EXPOSE 8080
     9  
    10  CMD ["/bin/bash", "-c", "find .build -executable -type f -not -name '*.so'| swift package describe | grep "Type: executable" | head | bash"]