Skip to content

Commit

Permalink
Merge pull request #63 from derschatta/npm-5.6.0
Browse files Browse the repository at this point in the history
Downgrade npm version to 5.6.0 to be compatible with CI system
  • Loading branch information
samanthajayasinghe authored Sep 10, 2019
2 parents 8d4942d + 857aafd commit 814fe10
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 814fe10

Please sign in to comment.