Skip to content

Commit

Permalink
Fix 'frontend' currently not working
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. Changing to LTS version. See issue: open-telemetry#601
  • Loading branch information
tommyziegler authored Nov 24, 2022
1 parent 0edb7d0 commit 8ea9212
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-alpine AS deps
FROM node:19.1-alpine AS deps
RUN apk add --no-cache libc6-compat

WORKDIR /app

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

FROM node:19-alpine AS builder
FROM node:19.1-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-alpine AS runner
FROM node:19.1-alpine AS runner
WORKDIR /app
RUN apk add --no-cache protoc

Expand Down

0 comments on commit 8ea9212

Please sign in to comment.