Major frontend overhaul. Added tailwindcss.
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -1,3 +1,17 @@
|
||||
FROM node:24-bookworm-slim AS builder
|
||||
|
||||
WORKDIR /usr/src/build
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY tailwind.config.js ./
|
||||
COPY templates/ ./templates/
|
||||
COPY static/css/input.css ./static/css/input.css
|
||||
|
||||
RUN npx tailwindcss -i ./static/css/input.css -o ./static/css/style.css --minify
|
||||
|
||||
FROM python:3.13.5-slim
|
||||
|
||||
EXPOSE 5000
|
||||
@@ -10,6 +24,7 @@ RUN python3 -m pip install --upgrade pip
|
||||
RUN python3 -m pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
COPY --from=builder /usr/src/build/static/css/style.css ./static/css/style.css
|
||||
|
||||
RUN python3 -m pip install -e .
|
||||
|
||||
|
Reference in New Issue
Block a user