diff --git a/src/frontend/Dockerfile b/src/frontend/Dockerfile index b4f5da5b6d..51fdaa743b 100644 --- a/src/frontend/Dockerfile +++ b/src/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine AS deps +FROM node:18-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app @@ -6,7 +6,7 @@ WORKDIR /app COPY ./src/frontend/package*.json ./ RUN npm ci -FROM node:16-alpine AS builder +FROM node:18-alpine AS builder RUN apk add --no-cache libc6-compat protobuf-dev protoc WORKDIR /app COPY --from=deps /app/node_modules ./node_modules @@ -16,7 +16,7 @@ COPY ./src/frontend . RUN npm run grpc:generate RUN npm run build -FROM node:16-alpine AS runner +FROM node:18-alpine AS runner WORKDIR /app RUN apk add --no-cache protoc