Skip to content

Commit

Permalink
fix Docker build
Browse files Browse the repository at this point in the history
by adding `--force` to the npm install command
  • Loading branch information
peterstadler committed Oct 8, 2024
1 parent 4f8e3ef commit cbc5c2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
# 1. build the website
# 2. run apache with php
#########################
FROM node:lts as builder
FROM node:lts AS builder

WORKDIR /app
COPY . .

RUN npm install \
RUN npm install --force \
&& npm run build

# 2. Step
Expand Down

0 comments on commit cbc5c2a

Please sign in to comment.