Skip to content

Commit

Permalink
Downgraded UI node to 18 until babel bug fixed (babel/babel#15927)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-lee-devel committed Sep 6, 2023
1 parent ca63b8e commit 6672940
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions services/ui/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM --platform=linux/x86_64 node:20-alpine3.18 as build
FROM --platform=linux/x86_64 node:18.17.1-alpine3.18 as build

WORKDIR /app

COPY package.json /app

RUN npm install
RUN yarn install

COPY . /app

RUN npm run build:prod
RUN yarn run build:prod

FROM --platform=linux/x86_64 nginx:1.25.1-alpine3.17

Expand Down
6 changes: 3 additions & 3 deletions services/ui/Dockerfile-stage
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM --platform=linux/x86_64 node:20-alpine3.18 as build
FROM --platform=linux/x86_64 node:18.17.1-alpine3.18 as build

WORKDIR /app

COPY package.json /app

RUN npm install
RUN yarn install

COPY . /app

RUN npm run build:stage
RUN yarnß run build:stage

FROM --platform=linux/x86_64 nginx:1.25.1-alpine3.17

Expand Down

0 comments on commit 6672940

Please sign in to comment.