Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 72c714b

Browse files
committed
Update Dockerfile for latest version of node
1 parent 6c69610 commit 72c714b

File tree

3 files changed

+17919
-13132
lines changed

3 files changed

+17919
-13132
lines changed

Diff for: docker/Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use the base image with Node.js
2-
FROM node:14
2+
FROM node:20
33

44
# Copy the current directory into the Docker image
55
COPY . /topcoder-x-ui
@@ -8,9 +8,8 @@ COPY . /topcoder-x-ui
88
WORKDIR /topcoder-x-ui
99

1010
# Install the dependencies from package.json
11-
RUN npm config set unsafe-perm true
1211
RUN git config --global url."https://git@".insteadOf git://
13-
RUN npm install
12+
RUN npm install --legacy-peer-deps
1413
RUN npm run build
1514
#RUN npm test
1615

0 commit comments

Comments
 (0)