From: Adam Dullage Date: Fri, 10 May 2024 06:08:49 +0000 (+0100) Subject: Update docker files to account for tailwindcss X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=39857dcf7b1eb779e57a467e64fddbd7ae40bc84;p=flatnotes.git Update docker files to account for tailwindcss --- diff --git a/.dockerignore b/.dockerignore index 8e37478..8f76471 100644 --- a/.dockerignore +++ b/.dockerignore @@ -11,5 +11,7 @@ !healthcheck.sh !package-lock.json !package.json +!postcss.config.js !server/** +!tailwind.config.js !vite.config.js diff --git a/Dockerfile b/Dockerfile index 6705aba..3702a2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,14 @@ ARG BUILD_DIR RUN mkdir ${BUILD_DIR} WORKDIR ${BUILD_DIR} -COPY package.json package-lock.json vite.config.js .htmlnanorc ./ +COPY .htmlnanorc \ + package.json \ + package-lock.json \ + postcss.config.js \ + tailwind.config.js \ + vite.config.js \ + ./ + RUN npm ci COPY client ./client