2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-26 15:16:19 +01:00

fix nodebb

This commit is contained in:
kev
2016-01-16 12:07:47 +08:00
parent d852efc40a
commit 6c8b38b756
10 changed files with 110 additions and 33 deletions

View File

@@ -27,12 +27,12 @@ RUN set -ex \
&& curl -sSL $BB_URL | tar xz --strip 1 \
&& sed -i '/"bufferutil": {/,/},/d; /"utf-8-validate": {/,/},/d' npm-shrinkwrap.json \
&& npm install --production \
&& npm install connect-redis \
&& npm cache clean \
&& apk del TMP \
&& rm -rf /tmp/npm* \
/var/cache/apk/*
COPY config.example.json $BB_SOURCE
COPY docker-entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]