Commit 7b549dff authored by Girish Ramakrishnan's avatar Girish Ramakrishnan

merge npm run commands

parent cbe09427
......@@ -17,15 +17,14 @@ RUN chown -R cloudron:cloudron /app/code/easyrsa
## Installing web-admin interface & packaging scripts
ADD package.json package-lock.json /app/code/
RUN npm install --production
ADD src /app/code/src
ADD frontend /app/code/frontend
# Somehow postinstall is not run automatically when building docker image
RUN npm run postinstall
ADD hooks /app/code/hooks
ADD start.sh server.js openvpn-conf.sh easyrsa-config.sh regen-crl.sh /app/code/
# Somehow postinstall is not run automatically when building docker image
RUN npm install --production && npm run postinstall
## Setting up TUN device
RUN mknod /app/code/net-tun c 10 200
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment