Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM alpine:3.23 AS frontend-builder
RUN apk upgrade --no-cache && apk add --no-cache nodejs-20 npm
RUN apk upgrade --no-cache && apk add --no-cache nodejs npm
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm ci
COPY frontend/ .
RUN npm run build

FROM alpine:3.23 AS backend-deps
RUN apk upgrade --no-cache && apk add --no-cache nodejs-20 npm
RUN apk upgrade --no-cache && apk add --no-cache nodejs npm
WORKDIR /app/backend
COPY backend/package*.json ./
RUN npm ci --omit=dev
Expand Down
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM alpine:3.23 AS builder
RUN apk upgrade --no-cache && apk add --no-cache nodejs-20 npm
RUN apk upgrade --no-cache && apk add --no-cache nodejs npm

WORKDIR /app

COPY package*.json ./
RUN npm ci --omit=dev

FROM alpine:3.23
RUN apk upgrade --no-cache && apk add --no-cache nodejs-20
RUN apk upgrade --no-cache && apk add --no-cache nodejs npm

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion demo/rag-chatbot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.23
RUN apk upgrade --no-cache && apk add --no-cache nodejs-20 npm
RUN apk upgrade --no-cache && apk add --no-cache nodejs npm

# Copy SDK as a proper package
COPY sdk/ /sdk/
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.23 AS builder
RUN apk upgrade --no-cache && apk add --no-cache nodejs-20 npm
RUN apk upgrade --no-cache && apk add --no-cache nodejs npm

WORKDIR /app

Expand Down
Loading