Dockerfile 275 B

1234567891011121314
  1. FROM troglodyne/base:latest AS tcms
  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. RUN make reset-dummy-data
  9. ENTRYPOINT ["/usr/bin/starman","www/server.psgi"]
  10. CMD ['-p',$port]