mirror of
https://github.com/Xevion/banner.git
synced 2025-12-06 03:14:24 -06:00
fix: avoid COPY of non existent dir, add .dockerignore
This commit is contained in:
73
.dockerignore
Normal file
73
.dockerignore
Normal file
@@ -0,0 +1,73 @@
|
||||
# Build artifacts
|
||||
target/
|
||||
**/target/
|
||||
|
||||
# Development files
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# IDE and editor files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# Git
|
||||
.git/
|
||||
.gitignore
|
||||
|
||||
# Documentation
|
||||
README.md
|
||||
docs/
|
||||
*.md
|
||||
|
||||
# Go files (since this is a Rust project)
|
||||
go/
|
||||
|
||||
# Database migrations (if not needed at runtime)
|
||||
migrations/
|
||||
diesel_migrations/
|
||||
diesel.toml
|
||||
|
||||
# Development configuration
|
||||
bacon.toml
|
||||
.cargo/config.toml
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
logs/
|
||||
|
||||
# Temporary files
|
||||
tmp/
|
||||
temp/
|
||||
*.tmp
|
||||
|
||||
# Test files
|
||||
tests/
|
||||
**/tests/
|
||||
*_test.rs
|
||||
*_tests.rs
|
||||
|
||||
# Coverage reports
|
||||
coverage/
|
||||
*.gcov
|
||||
*.gcno
|
||||
*.gcda
|
||||
|
||||
# Profiling
|
||||
*.prof
|
||||
|
||||
# Backup files
|
||||
*.bak
|
||||
*.backup
|
||||
@@ -52,7 +52,6 @@ RUN addgroup --gid $GID $APP_USER \
|
||||
|
||||
# Copy application files
|
||||
COPY --from=builder --chown=$APP_USER:$APP_USER /usr/src/banner/target/release/banner ${APP}/banner
|
||||
COPY --from=builder --chown=$APP_USER:$APP_USER /usr/src/banner/src/fonts ${APP}/fonts
|
||||
|
||||
# Set proper permissions
|
||||
RUN chmod +x ${APP}/banner
|
||||
|
||||
Reference in New Issue
Block a user