Add Docker build steps from old docker-leptos/musl image
This commit is contained in:
parent
cb0936003c
commit
074f866e5f
@ -1,14 +1,20 @@
|
|||||||
FROM registry.mregirouard.com/libretunes/ops/docker-leptos/musl:latest as builder
|
FROM clux/muslrust:nightly AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN rustup target add wasm32-unknown-unknown
|
||||||
|
|
||||||
# Install a few dependencies
|
# Install a few dependencies
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
|
pkg-config \
|
||||||
|
clang \
|
||||||
npm; \
|
npm; \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN cargo install cargo-leptos
|
||||||
|
|
||||||
RUN npm install tailwindcss@3.1.8 -g
|
RUN npm install tailwindcss@3.1.8 -g
|
||||||
|
|
||||||
# Copy project dependency manifests
|
# Copy project dependency manifests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user