Spaces:
Running
Running
Commit
·
ae72628
1
Parent(s):
e180aed
Fix: remove dist exclusion from .dockerignore
Browse filesThe **/dist with negation patterns wasn't working correctly.
Now all dist folders are included in Docker context.
Co-Authored-By: Claude <noreply@anthropic.com>
- .dockerignore +4 -10
- Dockerfile +1 -1
.dockerignore
CHANGED
|
@@ -5,18 +5,11 @@
|
|
| 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
|
| 13 |
**/node_modules
|
| 14 |
|
| 15 |
-
# Build outputs - keep pre-built dist folders
|
| 16 |
-
**/dist
|
| 17 |
-
!trigo-web/app/dist
|
| 18 |
-
!trigo-web/backend/dist
|
| 19 |
-
|
| 20 |
# Test files
|
| 21 |
tests
|
| 22 |
**/tests
|
|
@@ -27,10 +20,8 @@ tests
|
|
| 27 |
.vscode
|
| 28 |
.idea
|
| 29 |
*.log
|
| 30 |
-
# Don't exclude *.lock - package-lock.json is needed for reproducible builds
|
| 31 |
|
| 32 |
-
# Environment files - keep .env for build
|
| 33 |
-
# .env
|
| 34 |
.env.local
|
| 35 |
.env.*.local
|
| 36 |
|
|
@@ -43,3 +34,6 @@ temp/
|
|
| 43 |
# OS files
|
| 44 |
.DS_Store
|
| 45 |
Thumbs.db
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# Documentation
|
| 7 |
README.md
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# Node modules (will be installed during build)
|
| 10 |
node_modules
|
| 11 |
**/node_modules
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# Test files
|
| 14 |
tests
|
| 15 |
**/tests
|
|
|
|
| 20 |
.vscode
|
| 21 |
.idea
|
| 22 |
*.log
|
|
|
|
| 23 |
|
| 24 |
+
# Environment files - keep .env for build
|
|
|
|
| 25 |
.env.local
|
| 26 |
.env.*.local
|
| 27 |
|
|
|
|
| 34 |
# OS files
|
| 35 |
.DS_Store
|
| 36 |
Thumbs.db
|
| 37 |
+
|
| 38 |
+
# Don't exclude pre-built dist folders
|
| 39 |
+
# We're NOT using **/dist because it breaks the negation patterns
|
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-12T20:
|
| 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-12T20:25
|
| 7 |
|
| 8 |
# Install build dependencies
|
| 9 |
RUN apt-get update && apt-get install -y \
|