We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b2ecfe commit ada3722Copy full SHA for ada3722
Dockerfile.web-wallet
@@ -17,8 +17,17 @@ RUN corepack enable && yarn install
17
# Copy source code
18
COPY packages/web-wallet ./packages/web-wallet
19
COPY packages/snap-utils ./packages/snap-utils
20
+COPY packages/hathor-rpc-handler ./packages/hathor-rpc-handler
21
-# Build the application
22
+# Build snap-utils first (web-wallet depends on it)
23
+WORKDIR /app/packages/snap-utils
24
+RUN yarn build
25
+
26
+# Build hathor-rpc-handler (snap-utils depends on it)
27
+WORKDIR /app/packages/hathor-rpc-handler
28
29
30
+# Build the web-wallet application
31
WORKDIR /app/packages/web-wallet
32
RUN yarn build
33
0 commit comments