Spaces:
Sleeping
Sleeping
remove node_modules copy from Dockerfile to streamline image build
Browse files- Dockerfile +0 -3
- package.json +0 -1
Dockerfile
CHANGED
|
@@ -9,9 +9,6 @@ WORKDIR /app
|
|
| 9 |
# Copy package.json and package-lock.json first for better caching
|
| 10 |
COPY package*.json ./
|
| 11 |
|
| 12 |
-
# Copy node_modules
|
| 13 |
-
COPY node_modules ./node_modules
|
| 14 |
-
|
| 15 |
# Install dependencies
|
| 16 |
RUN npm install
|
| 17 |
|
|
|
|
| 9 |
# Copy package.json and package-lock.json first for better caching
|
| 10 |
COPY package*.json ./
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
# Install dependencies
|
| 13 |
RUN npm install
|
| 14 |
|
package.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
"name": "glif-lora-autocaption",
|
| 3 |
"version": "1.0.0",
|
| 4 |
"description": "A tool to auto-caption images using the Glif API",
|
| 5 |
-
"type": "module",
|
| 6 |
"main": "src/index.js",
|
| 7 |
"scripts": {
|
| 8 |
"start": "vite",
|
|
|
|
| 2 |
"name": "glif-lora-autocaption",
|
| 3 |
"version": "1.0.0",
|
| 4 |
"description": "A tool to auto-caption images using the Glif API",
|
|
|
|
| 5 |
"main": "src/index.js",
|
| 6 |
"scripts": {
|
| 7 |
"start": "vite",
|