We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2274194 commit ace9a8fCopy full SHA for ace9a8f
1 file changed
packaging/container/Containerfile
@@ -1,3 +1,11 @@
1
+# Stage 1: Node.js builder
2
+FROM node:lts-alpine3.23 AS builder
3
+
4
+WORKDIR /app
5
+COPY . .
6
+RUN npm install && export PATH=./node_modules/.bin:$PATH && npm run build-stylus && npm run build-riot && npm run concat-riot
7
8
+# Stage 2: Python/Django
9
FROM almalinux:10-minimal
10
11
RUN microdnf install -y tar gzip
@@ -17,4 +25,5 @@ RUN uv sync --all-extras --frozen
17
25
18
26
19
27
WORKDIR /app
28
+COPY --from=builder /app /app
20
29
ENTRYPOINT ["/bin/bash", "-c"]
0 commit comments