Skip to content

Commit 41f8082

Browse files
committed
include .cargo/config.toml when building wasm for docker, fix wasm bundle dest
1 parent c6e4f0c commit 41f8082

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ RUN make setup-wasm
6262

6363
# Copy source code required for WASM build
6464
COPY Cargo.toml Cargo.lock ./
65+
COPY .cargo/config.toml ./.cargo/config.toml
6566
COPY cli ./cli
6667
COPY core ./core
6768
COPY fuzzer ./fuzzer
@@ -137,7 +138,7 @@ COPY Makefile ./
137138
COPY frontend/httpd.conf /usr/local/apache2/conf/httpd.conf
138139

139140
# Copy WASM files from build stage
140-
COPY --from=wasm_files . /usr/local/apache2/htdocs/assets/webnode/pkg/
141+
COPY --from=wasm_files . /usr/local/apache2/htdocs/assets/webnode/
141142

142143
# Copy circuit blobs for devnet and mainnet from local directory
143144
COPY circuit-blobs/3.0.1devnet /usr/local/apache2/htdocs/assets/webnode/circuit-blobs/3.0.1devnet

0 commit comments

Comments
 (0)