update:docker js build

This commit is contained in:
kokopi
2026-03-08 04:18:59 +09:00
parent 51ddf60aa5
commit cd593219f7
3 changed files with 147 additions and 3 deletions

View File

@@ -3,7 +3,9 @@ FROM oven/bun:latest AS css
WORKDIR /app
RUN bun add tailwindcss @tailwindcss/cli
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
COPY tailwind.css ./tailwind.css
COPY pages/ ./pages/
@@ -14,7 +16,6 @@ RUN bunx @tailwindcss/cli \
-o ./static/css/app.css \
--minify
# go build
FROM golang:1.25-alpine AS builder