diff --git a/dev.Dockerfile b/dev.Dockerfile new file mode 100644 index 0000000000..2901159a58 --- /dev/null +++ b/dev.Dockerfile @@ -0,0 +1,20 @@ +FROM frolvlad/alpine-python2 + +RUN apk --update --no-cache add \ + g++ \ + make \ + nodejs \ + nodejs-npm \ + paxctl \ + && paxctl -cm $(which node) + +WORKDIR /usr/src/app + +COPY package.json . +RUN npm install + +COPY . . + +ENTRYPOINT ["./docker-entrypoint.sh"] + +CMD ["sh", "-c", "node index.js -h $DATABASE_HOST -p $DATABASE_PASSWORD -d $DATABASE_NAME -u $DATABASE_USER -n 80 -r 0.0.0.0"]