fix(docker): make multiarch work (#4655)

This commit is contained in:
Alireza 2025-01-08 09:41:47 -05:00 committed by GitHub
parent 8ad5d559bb
commit 8e12021939
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,14 @@
# docker build -t ohif/viewer:latest .
# Copy Files
FROM node:20.18.1-slim as builder
RUN apt-get update && apt-get install -y build-essential python3
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y build-essential python3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /usr/src/app
WORKDIR /usr/src/app
RUN npm install -g bun