We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0652e3 + 09d6166 commit c8dba74Copy full SHA for c8dba74
packaging/container/Containerfile
@@ -1,18 +1,3 @@
1
-# Stage 1: Node.js builder
2
-FROM node:lts-alpine3.23 AS builder
3
-
4
-WORKDIR /app
5
6
-COPY package.json package-lock.json* ./
7
-COPY src/static ./src/static
8
9
-RUN npm install \
10
- && export PATH=./node_modules/.bin:$PATH \
11
- && npm run build-stylus \
12
- && npm run build-riot \
13
- && npm run concat-riot
14
15
-# Stage 2: Python/Django
16
FROM almalinux:10-minimal
17
18
RUN microdnf install -y tar gzip
@@ -31,11 +16,4 @@ COPY pyproject.toml uv.lock ./
31
RUN uv sync --all-extras --frozen
32
33
WORKDIR /app
34
35
-COPY src ./src
36
-COPY manage.py ./
37
38
-# Copy built static files from Node builder
39
-COPY --from=builder /app/src/static ./src/static
40
41
19
ENTRYPOINT ["/bin/bash", "-c"]
0 commit comments