Skip to content

Commit

Permalink
Downgrade npm version to 5.6.0 to be compatible with CI system
Browse files Browse the repository at this point in the history
  • Loading branch information
derschatta committed Aug 22, 2019
1 parent 63dcc96 commit 857aafd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions compose/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
version: "2"
services:

nodejs:
build: ./nodejs

nginx:
build: ./nginx

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
# docker-compose -f docker-compose.yml -f compose/nginx.yml -f compose/pgsql.yml -f compose/php.yml up -d pgsql php-7.3

nodejs:
image: node:8
image: totara/docker-dev-nodejs
container_name: totara_nodejs
volumes:
- ${LOCAL_SRC}:${REMOTE_SRC}
Expand Down
6 changes: 6 additions & 0 deletions nodejs/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node:8

RUN npm install -g npm@5.6.0

CMD [ "node" ]

0 comments on commit 857aafd

Please sign in to comment.