Skip to content

Commit

Permalink
Fix 'frontend' currently not working (#605)
Browse files Browse the repository at this point in the history
* Fix 'frontend' currently not working

Fix alpine base image since the npm version has a newer major version. See issue: #601

* Fix 'frontend' currently not working

Fix the alpine base image since the npm version has a newer major version. Changing to LTS version. See issue: #601

* Fix 'frontend' currently not working (to LTS)

Fix the alpine base image since the npm version has a newer major version. Fi to LTS version 18. See issue: #601

Co-authored-by: Pierre Tessier <pierre@pierretessier.com>
  • Loading branch information
tommyziegler and puckpuck authored Nov 26, 2022
1 parent 092e82d commit 947ef40
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:16-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: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
Expand All @@ -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

Expand Down

0 comments on commit 947ef40

Please sign in to comment.