Dockerfile 241 B

12345678910111213
  1. FROM troglodyne/base:latest
  2. ARG port=5000
  3. LABEL description="tCMS: a Perl CMS by Troglodyne LLC"
  4. ADD . /home/tcms
  5. RUN chown -R tcms /home/tcms
  6. USER tcms
  7. RUN make install
  8. ENTRYPOINT ["/usr/bin/starman","www/server.psgi"]
  9. CMD ['-p',$port]