Skip to content
Snippets Groups Projects
Commit fcea7eba authored by pantsel's avatar pantsel
Browse files

Refactoring

parent da0178a1
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,8 @@ WORKDIR /app
# Copy app
COPY . /app
ENV NODE_ENV production
RUN npm --unsafe-perm --verbose install
EXPOSE 3000 1338
......
......@@ -23,7 +23,7 @@
"concurrently": "^3.1.0"
},
"scripts": {
"install": "cd frontend && npm install --production && cd ../backend && npm install --production",
"install": "cd frontend && npm install && cd ../backend && npm install",
"start": "node ./bin/konga play",
"production": "concurrently \"(cd backend && node app.js --prod)\" \"(cd frontend && node server.js)\"",
"test": "cd backend && mocha"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment