fix Dockerfile

This commit is contained in:
Wonderfall 2016-06-03 21:55:44 +02:00
parent 69cfe1c786
commit 399b647dac

View File

@ -28,6 +28,7 @@ VOLUME /ghost/content
RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& apk -U add \ && apk -U add \
openssl \
ca-certificates \ ca-certificates \
bash \ bash \
grep \ grep \
@ -41,7 +42,7 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap
&& mv config.example.js config.js \ && mv config.example.js config.js \
&& sed -i 's/127.0.0.1/0.0.0.0/g' config.js \ && sed -i 's/127.0.0.1/0.0.0.0/g' config.js \
&& npm cache clean \ && npm cache clean \
&& apk del ca-certificates \ && apk del ca-certificates openssl \
&& rm -rf /tmp/* /var/cache/apk/* && rm -rf /tmp/* /var/cache/apk/*
COPY run.sh /usr/local/bin/run.sh COPY run.sh /usr/local/bin/run.sh