Sign inSign up

wernerae/shoe-store

By wernerae

•Updated almost 5 years ago

Image
0

299

wernerae/shoe-store repository overview

Dockerfile:

FROM rust:1.54.0

WORKDIR /usr/src RUN echo "deb http://deb.debian.org/debian/⁠ unstable main contrib non-free" >> /etc/apt/sources.list.d/debian.list RUN apt-get update RUN apt-get install -y --no-install-recommends firefox

RUN curl -fsSL https://deb.nodesource.com/setup_16.x⁠ | bash RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh⁠ -sSf | sh RUN apt-get install -y libsqlite3-dev nodejs RUN cargo install diesel_cli --no-default-features --features sqlite RUN cargo install trunk wasm-bindgen-cli RUN rustup target add wasm32-unknown-unknown RUN mkdir /usr/src/project_backend RUN mkdir /usr/src/project_frontend COPY shoe_store /usr/src/project_backend COPY yew-shoe-store /usr/src/project_frontend WORKDIR /usr/src/project_backend RUN cargo build

WORKDIR /usr/src/project_frontend RUN cargo build RUN trunk build

Tag summary

Content type

Image

Digest

Size

1.6 GB

Last updated

almost 5 years ago

docker pull wernerae/shoe-store