Sign inSign up

artkhov/dioxus

By artkhov

•Updated 11 months ago

This image contains dioxus, npm & npx. The frontend stack for Rust + Dioxus development.

Image
Languages & frameworks
Developer tools
2

517

artkhov/dioxus repository overview

⁠The frontend stack for Rust + Dioxus.

It needs to assemble the frontend side with Dioxus and TailwindsCSS.

This image contains:

  • rustc: 1.91.1
  • cargo: 1.91.1
  • npm: latest
  • dioxus-cli: 0.7.1
⁠How to use

Dioxus + Tailwind⁠

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

Tag summary

Content type

Image

Digest

sha256:6dd08575c…

Size

645.2 MB

Last updated

11 months ago

docker pull artkhov/dioxus