Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
|
@@ -1,14 +1,11 @@
|
|
| 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
|
| 12 |
|
| 13 |
# Install dependencies using npm
|
| 14 |
RUN npm install
|
|
|
|
| 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
|