Skip to content

Commit

Permalink
DBZ-8435: Fix user permission issue and platfrom issue while running …
Browse files Browse the repository at this point in the history
…the UI build (#30)
  • Loading branch information
indraraj authored Nov 20, 2024
1 parent e97defd commit f132fe3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# FROM node:18-alpine AS builder
FROM registry.access.redhat.com/ubi9/nodejs-20 AS builder
FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9/nodejs-20 AS builder
USER root
RUN mkdir -p /app && chown 1001:1001 /app
USER 1001
RUN npm install -g yarn

ARG BACKEND_URL=http://localhost:8080
Expand Down

0 comments on commit f132fe3

Please sign in to comment.