Skip to content

Commit 316ff4b

Browse files
committed
Add --legacy-peer-deps to server build in Dockerfile
1 parent f733204 commit 316ff4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ LABEL description="Food Oasis app"
3939
WORKDIR /fola
4040
COPY ./server/package.json ./
4141
COPY ./server/package-lock.json ./
42-
RUN npm ci --quiet
42+
RUN npm ci --quiet --legacy-peer-deps
4343

4444
COPY --from=serverbuilder /usr/src/app/build ./
4545
COPY ./server/uploads ./uploads

0 commit comments

Comments
 (0)