Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,8 @@ RUN apk update && apk upgrade --no-cache && apk add --no-cache \
lld \
mold


# WORKAROUND until cargo-leptos has a prebuilt binary version greater than 0.3.2 (due to bug when compiling for musl)
RUN git clone "https://github.com/leptos-rs/cargo-leptos"
RUN cargo install --debug --path /cargo-leptos/

# Install a prebuilt binary of cargo-leptos matching version in README.md
# RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/leptos-rs/cargo-leptos/releases/download/v0.3.2/cargo-leptos-installer.sh | sh
RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/leptos-rs/cargo-leptos/releases/download/v0.3.5/cargo-leptos-installer.sh | sh


WORKDIR /build
Expand Down Expand Up @@ -77,4 +72,4 @@ ENV LEPTOS_SITE_ROOT=./site
EXPOSE 8080

# Must match your final server executable name
CMD ["/app/vowlr"]
CMD ["/app/vowlr"]