You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
457 B

  1. FROM centos:7
  2. LABEL name="LessPass Web Server"
  3. LABEL maintainer="LessPass <contact@lesspass.com>"
  4. ENV LANG en_US.UTF-8
  5. RUN yum -y install epel-release && \
  6. yum -y install httpd openssl mod_ssl proxy_http python34 python34-pip && \
  7. yum clean all
  8. EXPOSE 80 443
  9. RUN python3 -m pip install --upgrade pip
  10. RUN python3 -m pip install jinja2
  11. COPY entrypoint.sh /entrypoint.sh
  12. ENTRYPOINT ["/entrypoint.sh"]
  13. CMD ["/usr/sbin/httpd", "-D", "FOREGROUND"]