ngoctuanai commited on
Commit
017aea1
·
verified ·
1 Parent(s): f9a6fc4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,14 +1,14 @@
1
  # Use the Node.js 18 base image
2
  FROM node:18
3
 
4
- # Clone the ChatGPT repository from GitHub
5
- RUN git clone https://github.com/chokiproai/ChatGPT-Plugins.git
6
-
7
  # Set the working directory inside the container
8
- WORKDIR "ChatGPT-Plugins"
 
 
 
9
 
10
- # Install dependencies using npm
11
- RUN npm install
12
 
13
  # Build the project
14
  RUN npm run build
 
1
  # Use the Node.js 18 base image
2
  FROM node:18
3
 
 
 
 
4
  # Set the working directory inside the container
5
+ WORKDIR /ChatGPT-Plugins
6
+
7
+ # Clone the ChatGPT repository from GitHub
8
+ RUN git clone https://github.com/chokiproai/ChatGPT-Plugins.git .
9
 
10
+ # Install dependencies using npm with legacy peer dependencies
11
+ RUN npm install --legacy-peer-deps
12
 
13
  # Build the project
14
  RUN npm run build