Skip to content

Commit 530ecc1

Browse files
johnebgoodclaude
andcommitted
Update buildspec to build React app and serve from react-app/dist
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a4a610d commit 530ecc1

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎buildspec.yml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
version: 0.2
2+
3+
phases:
4+
install:
5+
runtime-versions:
6+
nodejs: 20
7+
commands:
8+
- cd react-app
9+
- npm ci
10+
build:
11+
commands:
12+
- npm run build
13+
214
artifacts:
315
files:
416
- '**/*'
5-
base-directory: 'webfront'
17+
base-directory: 'react-app/dist'

0 commit comments

Comments
 (0)