This image contains dioxus, npm & npx. The frontend stack for Rust + Dioxus development.
517
It needs to assemble the frontend side with Dioxus and TailwindsCSS.
This image contains:
Example:
FROM artkhov/dioxus:latest AS builder
WORKDIR app/
COPY . .
# Install tailwindcss, prepare directives, build Dioxus web application.
RUN npm install -D tailwindcss && \
npx tailwindcss -i ./input.css -o ./public/tailwind.css && \
dx build --release
# Copying static and wasm files to another image to minimize
# the size of the final image.
FROM nginx:latest
COPY --from=builder ./app/dist /usr/share/nginx/html
Content type
Image
Digest
sha256:6dd08575c…
Size
645.2 MB
Last updated
11 months ago
docker pull artkhov/dioxus