File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 7
7
# Install root dependencies
8
8
RUN npm install
9
9
10
- # Install and build client
11
- RUN cd client && npm install && npm run build
10
+ # Install and build client (including dev dependencies)
11
+ RUN cd client && npm install --production=false && npm run build
12
12
13
13
# Install server dependencies
14
14
RUN cd server && npm install
Original file line number Diff line number Diff line change 5
5
# Install dependencies and build
6
6
npm install
7
7
8
- # Install client dependencies and build
8
+ # Install client dependencies and build (including dev dependencies)
9
9
cd client
10
- npm install
10
+ npm install --production=false
11
11
npm run build
12
12
13
13
# Install server dependencies
Original file line number Diff line number Diff line change 12
12
"dependencies" : {
13
13
"@heroicons/react" : " ^2.2.0" ,
14
14
"@tailwindcss/forms" : " ^0.5.9" ,
15
+ "@vitejs/plugin-react" : " ^4.3.4" ,
15
16
"autoprefixer" : " ^10.4.20" ,
16
17
"axios" : " ^1.7.9" ,
17
18
"i18next" : " ^24.2.0" ,
20
21
"react" : " ^18.3.1" ,
21
22
"react-dom" : " ^18.3.1" ,
22
23
"react-i18next" : " ^15.4.0" ,
23
- "vite" : " ^5.0.0"
24
+ "vite" : " ^5.0.0" ,
25
+ "tailwindcss" : " ^3.0.0"
24
26
},
25
27
"devDependencies" : {
26
28
"@eslint/js" : " ^9.17.0" ,
27
29
"@types/react" : " ^18.3.18" ,
28
30
"@types/react-dom" : " ^18.3.5" ,
29
- "@vitejs/plugin-react" : " ^4.3.4" ,
30
31
"eslint" : " ^9.17.0" ,
31
32
"eslint-plugin-react" : " ^7.37.2" ,
32
33
"eslint-plugin-react-hooks" : " ^5.0.0" ,
33
34
"eslint-plugin-react-refresh" : " ^0.4.16" ,
34
- "globals" : " ^15.14.0" ,
35
- "tailwindcss" : " ^3.0.0"
35
+ "globals" : " ^15.14.0"
36
36
}
37
37
}
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"description" : " Secure file transfer application" ,
5
5
"scripts" : {
6
- "install-client" : " cd client && npm install" ,
6
+ "install-client" : " cd client && npm install --production=false " ,
7
7
"install-server" : " cd server && npm install" ,
8
- "build-client" : " cd client && npm install && npm run build" ,
8
+ "build-client" : " cd client && npm install --production=false && npm run build" ,
9
9
"start" : " cd server && npm start" ,
10
10
"build" : " npm run install-server && npm run build-client"
11
11
},
You can’t perform that action at this time.
0 commit comments