Browse Source

Add development dockerfile based on alpine with python

pull/55/head
Boris van Katwijk 6 years ago
parent
commit
51f96da121
  1. 20
      dev.Dockerfile

20
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"]
Loading…
Cancel
Save