autoconf - various fixes

This commit is contained in:
bunkerity
2020-12-05 11:06:38 +01:00
parent 95153dbc5d
commit 36cbb927c0
6 changed files with 65 additions and 37 deletions

View File

@@ -0,0 +1,11 @@
FROM node
COPY app/ /home/node/app
RUN cd /home/node/app && npm install && chown -R root:node /home/node/app && chmod -R 770 /home/node/app
WORKDIR /home/node/app
USER node
CMD ["node", "index.js"]