Dockerfile: add "--legacy-peer-deps" to "npm ci"

This commit is contained in:
Jesse Chan
2022-05-10 23:14:48 -07:00
parent 657a94d914
commit d540d3699e

View File

@@ -21,7 +21,7 @@ WORKDIR /usr/src/app/
COPY . ./
# Fetch dependencies from npm
RUN npm ci
RUN npm ci --legacy-peer-deps
# Build assets
RUN npm run build