Skip to content

Commit 7e4f944

Browse files
ppsreejithclaude
andauthored
Serve extension build (#192)
* add extension build to Docker build process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Copy extension build to web directory --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6a07a9e commit 7e4f944

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

web/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ RUN yarn set version 4.3.1
4747

4848
RUN yarn install
4949

50+
# Build extension
51+
WORKDIR /app/extension
52+
RUN yarn install
53+
RUN yarn build
54+
55+
# Copy extension build to web public directory
56+
RUN cp -r /app/extension/build /app/web/public/extension-build
57+
5058
WORKDIR /app/web
5159

5260
RUN yarn install

0 commit comments

Comments
 (0)