Skip to content

Commit db42366

Browse files
authored
Merge pull request #747 from topcoder-platform/read-only-root-file-system-fix
Read only root file system fix
2 parents 4c02c05 + a90af09 commit db42366

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ WORKDIR /usr/src/app
2626
COPY . /usr/src/app
2727
# Install app dependencies
2828
RUN npm install
29+
RUN npm run -s build
2930

3031
EXPOSE 3000
3132

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"lint": "eslint .",
1111
"lint:fix": "eslint . --fix || true",
1212
"build": "babel src -d dist --presets es2015 --copy-files",
13-
"prestart": "npm run -s build",
1413
"start": "node dist",
1514
"start:dev": "cross-env NODE_ENV=development PORT=8001 nodemon -w src --exec \"./node_modules/.bin/env-cmd npm run babel-node-script -- src\" | bunyan",
1615
"startKafkaConsumers": "npm run -s build && node dist/index-kafka.js",

0 commit comments

Comments
 (0)