Skip to content

Commit 4035bc9

Browse files
committed
fixed dockerfile
1 parent bace6b7 commit 4035bc9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ RUN cargo binstall dioxus-cli --root /.cargo -y --force
1818
ENV PATH="/.cargo/bin:$PATH"
1919

2020
# Create the final bundle folder. Bundle always executes in release mode with optimizations enabled
21-
RUN dx bundle -p weaver-server
21+
RUN cd crates/weaver-server && dx bundle --release
2222

2323
FROM chef AS runtime
2424

25-
COPY --from=builder /app/target/dx/weaver_server/release/web/ /usr/local/app
25+
26+
COPY --from=builder /app/target/dx/weaver-server/release/web/ /usr/local/app
2627

2728
# set our port and make sure to listen for all connections
2829
ENV PORT=8080

0 commit comments

Comments
 (0)