Dockerfile 272 B

123456789101112131415
  1. FROM troglodyne/base:latest AS tcms
  2. ARG port=5000
  3. LABEL description="tCMS: a Perl CMS by Troglodyne LLC"
  4. EXPOSE $port/tcp
  5. ADD . /home/tcms
  6. RUN chown -R tcms /home/tcms
  7. USER tcms
  8. RUN make install
  9. RUN make reset-dummy-data
  10. CMD /usr/bin/starman -p $port www/server.psgi