girish@cloudron.io пре 9 година
родитељ
комит
212c2405e5
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      Dockerfile

+ 4 - 4
Dockerfile

@@ -13,12 +13,12 @@ RUN apt-get update && apt-get install -y \
     postgresql-9.4 postgresql-contrib-9.4 postgresql-server-dev-9.4 nginx
 
 ## backend
-RUN git clone https://github.com/taigaio/taiga-back.git taiga-back
-RUN cd /app/code/taiga-back && git checkout stable
+RUN mkdir /app/code/taiga-back
+RUN curl -L https://github.com/taigaio/taiga-back/tarball/e1fe52639b6d9e87c621fc9df4f42b8f23e936c4 | tar -xz -C /app/code/taiga-back --strip-components 1 -f -
 
 ## frontend
-RUN git clone https://github.com/taigaio/taiga-front-dist.git taiga-front-dist
-RUN cd /app/code/taiga-front-dist && git checkout stable
+RUN mkdir /app/code/taiga-front-dist
+RUN curl -L https://github.com/taigaio/taiga-front-dist/tarball/f55f6f1f9e4b93de0dd495de3e1887e6072c776f | tar -xz -C /app/code/taiga-front-dist --strip-components 1 -f -
 
 RUN rm -rf /app/code/taiga-back/media && mkdir /app/data/media && ln -s /app/data/media /app/code/taiga-back/media