Commit 13051ec8 authored by 张 斌's avatar 张 斌

chore(properties):构建nginx镜像的dockerfiler修改

parent 1936fe80
......@@ -5,9 +5,6 @@ COPY auto-reload-nginx.sh /home/auto-reload-nginx.sh
RUN chmod +x /home/auto-reload-nginx.sh
# install inotify
RUN apt-get update && apt-get install -y inotify-tools
# #替换源
WORKDIR /etc/apt/
RUN mv sources.list /tmp
......@@ -29,6 +26,7 @@ RUN apt-get update \
git \
rlwrap \
vim \
inotify-tools \
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \
&& apt-get install --assume-yes --no-install-recommends nodejs \
&& apt-get clean
......
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