-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b9c317
commit 6e2c6da
Showing
2 changed files
with
23 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
# Changes to this file will cause the workflow to rebuild the builder image | ||
FROM rust:1.73-slim-buster as builder | ||
RUN rustup target add wasm32-unknown-unknown | ||
RUN cargo install trunk | ||
COPY . . | ||
WORKDIR /track | ||
RUN trunk build web-client/index.html # Build once so that dependencies are cached | ||
RUN rm -rf web-client/dist # The built files are not needed in the final image | ||
|
||
# Changes to this file will cause the workflow to rebuild the builder image | ||
# Rebuild=1 |