Update for latest docker-leptos container

This commit is contained in:
Ethan Girouard 2024-01-23 23:11:16 -05:00
parent 468fbb4dc2
commit 1288f884fb
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146

View File

@ -2,16 +2,11 @@ FROM registry.mregirouard.com/libretunes/ops/docker-leptos:latest as builder
WORKDIR /app
# Add target for static linking
RUN rustup target add x86_64-unknown-linux-musl
# Install a few dependencies
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
npm \
musl-tools \
libpq5; \
npm; \
rm -rf /var/lib/apt/lists/*
RUN npm install tailwindcss -g