Sign inSign up

installes/naiveboom

By installes

•Updated over 6 years ago

Image
0

524

installes/naiveboom repository overview

执行命令

docker run -d -p 3000:3000 installes/naiveboom

Dockerfile:

FROM node:14-alpine

RUN npm config set registry http://registry.npm.taobao.org/⁠ &&
apk update &&
apk add --no-cache --update git redis &&
git clone https://github.com/kchown/naiveboom.git⁠ &&
cd naiveboom/ &&
apk del git &&
rm /naiveboom/.git* -rf &&
sed -i "s#kch.host#odcn.top#g" /naiveboom/views/layout.pug &&
sed -i "s@# ./redis-server /path/to/redis.conf@daemonize yes@g" /etc/redis.conf &&
npm install

WORKDIR /naiveboom

EXPOSE 2000

CMD redis-server /etc/redis.conf && node /naiveboom/run.js

Tag summary

Content type

Image

Digest

Size

47.3 MB

Last updated

over 6 years ago

docker pull installes/naiveboom