|
|
@@ -9,7 +9,7 @@ FROM ubuntu
|
|
|
# MAINTAINER name Chunteng Xiao
|
|
|
RUN apt-get clean
|
|
|
RUN apt-get update
|
|
|
-RUN apt-get install software-properties-common
|
|
|
+RUN apt-get install -y software-properties-common
|
|
|
RUN add-apt-repository ppa:certbot/certbot
|
|
|
RUN apt-get update
|
|
|
RUN apt-get -f install -y nodejs nginx npm curl unzip python-certbot-nginx
|
|
|
@@ -22,6 +22,6 @@ COPY sonar-runner.properties ./sonar-scanner-3.2.0.1227-linux/conf/sonar-scanner
|
|
|
RUN npm install cnpm -g --registry=https://registry.npm.taobao.org
|
|
|
RUN cnpm install gitbook-cli -g
|
|
|
ADD default /etc/nginx/sites-available
|
|
|
-RUN certbot --nginx
|
|
|
-RUN certbot renew --dry-run
|
|
|
+# RUN certbot --nginx
|
|
|
+# RUN certbot renew --dry-run
|
|
|
EXPOSE 80
|