From b5de97e2aacc1e105fc0e406bb834a99bb29b7f9 Mon Sep 17 00:00:00 2001 From: Ada Werefox Date: Fri, 31 Mar 2023 11:21:59 +0000 Subject: [PATCH] Don't need to recompile TailwindCSS in container. --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ad3b485..bc65e9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,18 +2,14 @@ FROM rust:alpine WORKDIR /usr/src/app -RUN apk add git musl-dev npm && \ - npm install tailwindcss +RUN apk add git musl-dev -COPY build.rs . COPY Cargo.toml . COPY public/ public/ COPY Rocket.toml . COPY src/ src/ -COPY tailwind.config.js . COPY templates/ templates/ -RUN mkdir target RUN cargo install --config "net.git-fetch-with-cli=true" --path . CMD ["rust-letter"]