Skip to content

Commit

Permalink
Fix 'frontend' currently not working (to LTS)
Browse files Browse the repository at this point in the history
Fix the alpine base image since the npm version has a newer major version. Fi to LTS version 18. See issue: open-telemetry#601
  • Loading branch information
tommyziegler authored Nov 26, 2022
1 parent a34a5eb commit a716d9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:19.1-alpine AS deps
FROM node:18-alpine AS deps
RUN apk add --no-cache libc6-compat

WORKDIR /app

COPY ./src/frontend/package*.json ./
RUN npm ci

FROM node:19.1-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
Expand All @@ -16,7 +16,7 @@ COPY ./src/frontend .
RUN npm run grpc:generate
RUN npm run build

FROM node:19.1-alpine AS runner
FROM node:18-alpine AS runner
WORKDIR /app
RUN apk add --no-cache protoc

Expand Down

0 comments on commit a716d9d

Please sign in to comment.