mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
378 B
21 lines
378 B
6 years ago
|
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"]
|