Recovered --force on npm ci, as some components still do not officially suport react 18

This commit is contained in:
Alejandro Celaya
2022-07-19 18:45:18 +02:00
parent d41c1a2a52
commit d67b8c0530
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ FROM node:16.15-alpine as node
COPY . /shlink-web-client
ARG VERSION="latest"
ENV VERSION ${VERSION}
RUN cd /shlink-web-client && npm ci && NODE_ENV=production npm run build
RUN cd /shlink-web-client && npm ci --force && NODE_ENV=production npm run build
FROM nginx:1.21-alpine
LABEL maintainer="Alejandro Celaya <alejandro@alejandrocelaya.com>"