Skip to content

Commit 814fe10

Browse files
Merge pull request #63 from derschatta/npm-5.6.0
Downgrade npm version to 5.6.0 to be compatible with CI system
2 parents 8d4942d + 857aafd commit 814fe10

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

compose/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
version: "2"
22
services:
33

4+
nodejs:
5+
build: ./nodejs
6+
47
nginx:
58
build: ./nginx
69

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
# docker-compose -f docker-compose.yml -f compose/nginx.yml -f compose/pgsql.yml -f compose/php.yml up -d pgsql php-7.3
99

1010
nodejs:
11-
image: node:8
11+
image: totara/docker-dev-nodejs
1212
container_name: totara_nodejs
1313
volumes:
1414
- ${LOCAL_SRC}:${REMOTE_SRC}

nodejs/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM node:8
2+
3+
RUN npm install -g npm@5.6.0
4+
5+
CMD [ "node" ]
6+

0 commit comments

Comments
 (0)