Niansuh commited on
Commit
a9cab0c
·
verified ·
1 Parent(s): 629c07d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,11 +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 -b Copilot https://github.com/Niansuh/ChatGPT.git
6
 
7
  # Set the working directory inside the container
8
- WORKDIR "ChatGPT"
9
 
10
  # Install dependencies using npm
11
  RUN npm install
 
1
  # Use the Node.js 18 base image
2
  FROM node:18
3
 
4
+ # Update system environment
5
+ RUN apk update && apk upgrade && apk add --no-cache git
6
+
7
  # Clone the ChatGPT repository from GitHub
8
  RUN git clone -b Copilot https://github.com/Niansuh/ChatGPT.git
9
 
10
  # Set the working directory inside the container
11
+ WORKDIR /app
12
 
13
  # Install dependencies using npm
14
  RUN npm install