File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,14 @@ PHPVERSION=7.3
17
17
# see https://github.com/dockerwest/nginx-symfony
18
18
#
19
19
NGINXVERSION=stable
20
+
21
+ #
22
+ #
23
+ # Choose your NodeJS version. To see which versions are available see
24
+ # https://github.com/dockerwest/nodejs
25
+ #
26
+ NODEVERSION=10
27
+
20
28
#
21
29
# set the symfony version, 3 and below use 3, 4 and above must use 4. Since the
22
30
# intorduction of symfony4 there were some changes where web accessible files
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ cmd = dockerrun + [
17
17
'-v' , currentpath + ":/nodeapp" ,
18
18
'-e' , "C_UID=" + env .get ('C_UID' ),
19
19
'-e' , "C_GID=" + env .get ('C_GID' ),
20
- 'dockerwest/nodejs:8' ,
21
- 'su-exec' , 'node' , ' node'
20
+ 'dockerwest/nodejs:' + env . get ( 'NODEVERSION' ) ,
21
+ 'node'
22
22
] + sys .argv [1 :]
23
23
24
24
os .execvp (cmd [0 ], cmd )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ cmd = dockerrun + [
19
19
'-v' , currentpath + ":/nodeapp" ,
20
20
'-e' , "C_UID=" + env .get ('C_UID' ),
21
21
'-e' , "C_GID=" + env .get ('C_GID' ),
22
- 'dockerwest/nodejs:8' ,
22
+ 'dockerwest/nodejs:' + env . get ( 'NODEVERSION' ) ,
23
23
'npm'
24
24
] + sys .argv [1 :]
25
25
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cmd = dockerrun + [
20
20
'-v' , currentpath + ":/nodeapp" ,
21
21
'-e' , "C_UID=" + env .get ('C_UID' ),
22
22
'-e' , "C_GID=" + env .get ('C_GID' ),
23
- 'dockerwest/nodejs:8' ,
23
+ 'dockerwest/nodejs:' + env . get ( 'NODEVERSION' ) ,
24
24
'yarn'
25
25
] + sys .argv [1 :]
26
26
You can’t perform that action at this time.
0 commit comments