Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,9 @@ WORKDIR /ChatGPT-Plugins
|
|
| 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 |
|
|
|
|
| 7 |
# Clone the ChatGPT repository from GitHub
|
| 8 |
RUN git clone https://github.com/chokiproai/ChatGPT-Plugins.git .
|
| 9 |
|
| 10 |
+
# Copy package.json and yarn.lock to the working directory
|
| 11 |
+
COPY package.json yarn.lock ./
|
| 12 |
+
|
| 13 |
# Install dependencies using npm with legacy peer dependencies
|
| 14 |
RUN npm install --legacy-peer-deps
|
| 15 |
|