Spaces:
Running
Running
Commit
·
16054ff
1
Parent(s):
a3cb895
Fix: update .dockerignore to include package-lock.json and .env files
Browse files- Removed *.lock exclusion (package-lock.json needed for reproducible builds)
- Kept .env files for vite build
Co-Authored-By: Claude <noreply@anthropic.com>
- .dockerignore +5 -4
- Dockerfile +1 -1
.dockerignore
CHANGED
|
@@ -5,7 +5,8 @@
|
|
| 5 |
|
| 6 |
# Documentation
|
| 7 |
README.md
|
| 8 |
-
|
|
|
|
| 9 |
|
| 10 |
# Node modules (will be installed during build)
|
| 11 |
node_modules
|
|
@@ -25,10 +26,10 @@ tests
|
|
| 25 |
.vscode
|
| 26 |
.idea
|
| 27 |
*.log
|
| 28 |
-
*.lock
|
| 29 |
|
| 30 |
-
# Environment files
|
| 31 |
-
.env
|
| 32 |
.env.local
|
| 33 |
.env.*.local
|
| 34 |
|
|
|
|
| 5 |
|
| 6 |
# Documentation
|
| 7 |
README.md
|
| 8 |
+
# Keep CLAUDE.md files
|
| 9 |
+
!**/CLAUDE.md
|
| 10 |
|
| 11 |
# Node modules (will be installed during build)
|
| 12 |
node_modules
|
|
|
|
| 26 |
.vscode
|
| 27 |
.idea
|
| 28 |
*.log
|
| 29 |
+
# Don't exclude *.lock - package-lock.json is needed for reproducible builds
|
| 30 |
|
| 31 |
+
# Environment files - keep .env for build (vite needs it)
|
| 32 |
+
# .env
|
| 33 |
.env.local
|
| 34 |
.env.*.local
|
| 35 |
|
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ FROM node:20-slim
|
|
| 3 |
# Set noninteractive installation
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
|
| 6 |
-
# Build timestamp to force cache invalidation: 2026-01-12T19:
|
| 7 |
|
| 8 |
# Install build dependencies
|
| 9 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 3 |
# Set noninteractive installation
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
|
| 6 |
+
# Build timestamp to force cache invalidation: 2026-01-12T19:10
|
| 7 |
|
| 8 |
# Install build dependencies
|
| 9 |
RUN apt-get update && apt-get install -y \
|