veizour 6 anos atrás
pai
commit
a25bddc97a
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -45,9 +45,9 @@ RUN \
   rm -R -f /var/www && \
   ln -s /web /var/www
   
-RUN wget https://www.opensource-socialnetwork.org/download_ossn/latest/build.zip
-RUN mv ./build.zip /tmp/.
-RUN unzip /tmp/build.zip
+RUN cd /tmp/.
+ADD https://www.opensource-socialnetwork.org/download_ossn/latest/build.zip /tmp/build.zip
+RUN unzip /tmp/build.zip -d /tmp
 RUN cp -r /tmp/ossn /var/www/html/.
 
 RUN chown -R www-data:www-data /var/www/html/ossn/