Dockerfile 326 B

12345678910111213
  1. FROM serset/dotnet:2.1
  2. #(x.1)install zip unzip
  3. RUN apt-get update && apt-get -y install zip unzip
  4. #(x.2)alias filezip
  5. RUN echo '#!/bin/bash\ndotnet /root/filezip/FileZip.dll $*' > /usr/bin/filezip && chmod +x /usr/bin/filezip
  6. #(x.3)app
  7. COPY app /root/filezip
  8. WORKDIR /root/filezip
  9. CMD dotnet /root/filezip/FileZip.dll help