File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM node:lts-alpine
1
+ FROM node:lts
2
2
3
3
# Install global npm packages
4
4
RUN npm i -g @angular/cli
Original file line number Diff line number Diff line change 1
1
version : " 3"
2
2
services :
3
3
seed :
4
- image : node:lts-alpine
4
+ image : node:lts
5
5
working_dir : " /usr/src/seed"
6
6
volumes :
7
7
- ./:/usr/src/seed_output
8
8
entrypoint : >
9
- sh -c "npx @angular/cli new --skipInstall --skipGit &&
10
- mv ./*/* /usr/src/seed_output"
9
+ bash -c "npm i @angular/cli <<< N && npx ng new --skipInstall --skipGit &&
10
+ mv `ls -d */ | grep -v node_modules | xargs -I {} find {} -mindepth 1 -maxdepth 1` /usr/src/seed_output"
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ services:
6
6
ports :
7
7
- " 4200:4200"
8
8
environment :
9
+ SHELL : /bin/bash
9
10
NODE_ENV : development
10
11
volumes :
12
+ - ~/.gitconfig:/etc/gitconfig
11
13
- ./src:/usr/src/app/src:cached
12
14
- ./e2e:/usr/src/app/e2e:cached
13
15
- ./tsconfig.json:/usr/src/app/tsconfig.json
You can’t perform that action at this time.
0 commit comments