Skip to content

Commit d34820d

Browse files
committed
#3414 webpage: fix npm install issue
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent 3f2cdc5 commit d34820d

File tree

5 files changed

+198
-605
lines changed

5 files changed

+198
-605
lines changed

webpage/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ WORKDIR /app
1212
COPY package*.json ./
1313

1414
# Install dependencies with legacy peer deps flag for VuePress 2
15-
RUN npm install --legacy-peer-deps
15+
RUN npm install
1616

1717
## Copy scripts first (needed for patching)
1818
#COPY scripts ./scripts

webpage/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
ports:
99
- "8080:8080"
1010
working_dir: /app
11-
command: ["/bin/sh", "-c", "npm install --legacy-peer-deps && npm run dev"]
11+
command: ["/bin/sh", "-c", "npm install && npm run dev"]
1212
environment:
1313
- NODE_ENV=development
1414

webpage/justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ clean:
5656
# Install dependencies
5757
[group('setup')]
5858
install:
59-
npm install --legacy-peer-deps
59+
npm install
6060

6161
# Clean install
6262
[group('setup')]
6363
clean-install:
6464
rm -rf node_modules package-lock.json
65-
npm install --legacy-peer-deps
65+
npm install
6666

6767
# Test config loads
6868
[group('test')]

0 commit comments

Comments
 (0)