mirror of https://github.com/nocodb/nocodb
Boris van Katwijk
6 years ago
1 changed files with 20 additions and 0 deletions
@ -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…
Reference in new issue