Dockerfile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. FROM cloudron/base:0.3.1
  2. MAINTAINER Taiga Authors <support@cloudron.io>
  3. EXPOSE 8000
  4. RUN apt-get update
  5. RUN apt-get install -y \
  6. build-essential binutils-doc autoconf flex bison libjpeg-dev libfreetype6-dev \
  7. zlib1g-dev libzmq3-dev libgdbm-dev libncurses5-dev automake libtool libffi-dev curl git tmux \
  8. gettext python3 python3-pip python-dev python3-dev virtualenvwrapper libxml2-dev libxslt-dev \
  9. postgresql-9.4 postgresql-contrib-9.4 postgresql-server-dev-9.4 nginx
  10. WORKDIR /app/code
  11. ## backend
  12. RUN git clone https://github.com/taigaio/taiga-back.git taiga-back
  13. WORKDIR /app/code/taiga-back
  14. RUN git checkout stable
  15. ## frontend
  16. WORKDIR /app/code
  17. RUN git clone https://github.com/taigaio/taiga-front-dist.git taiga-front-dist
  18. WORKDIR /app/code/taiga-front-dist
  19. RUN git checkout stable
  20. WORKDIR /app/code
  21. ADD build.sh /app/code/build.sh
  22. RUN /app/code/build.sh
  23. RUN rm /etc/nginx/sites-enabled/default
  24. ADD taiga.nginx.conf /etc/nginx/sites-enabled/taiga
  25. ADD circus.ini /app/code/circus.ini
  26. ADD conf.json /app/code/taiga-front-dist/dist/js/conf.json
  27. ADD local.py /app/code/taiga-back/settings/local.py
  28. ADD start.sh /app/code/start.sh
  29. CMD [ "/app/code/start.sh" ]