Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions packaging/container/Containerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# Stage 1: Node.js builder
FROM node:lts-alpine3.23 AS builder

WORKDIR /app

COPY package.json package-lock.json* ./
COPY src/static ./src/static

RUN npm install \
&& export PATH=./node_modules/.bin:$PATH \
&& npm run build-stylus \
&& npm run build-riot \
&& npm run concat-riot

# Stage 2: Python/Django
FROM almalinux:10-minimal

RUN microdnf install -y tar gzip
Expand All @@ -31,11 +16,4 @@ COPY pyproject.toml uv.lock ./
RUN uv sync --all-extras --frozen

WORKDIR /app

COPY src ./src
COPY manage.py ./

# Copy built static files from Node builder
COPY --from=builder /app/src/static ./src/static

ENTRYPOINT ["/bin/bash", "-c"]