Commit 5930c7a1 authored by name's avatar name
Browse files

优化dockerfile

parent 61de8db5
...@@ -10,8 +10,7 @@ RUN set -ex \ ...@@ -10,8 +10,7 @@ RUN set -ex \
&& cd /acme_src && ./acme.sh --install --cert-home /acme_cert \ && cd /acme_src && ./acme.sh --install --cert-home /acme_cert \
&& apk del git \ && apk del git \
&& rm -rf /acme_src /var/cache/apk/* \ && rm -rf /acme_src /var/cache/apk/* \
&& mkdir /etc/nginx/ssl \ && mkdir -p /etc/nginx/ssl/app
&& mkdir /etc/nginx/ssl/app \
COPY ./nginx.conf /etc/nginx/nginx.conf COPY ./nginx.conf /etc/nginx/nginx.conf
COPY ./default.conf /etc/nginx/conf.d/default.conf COPY ./default.conf /etc/nginx/conf.d/default.conf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment