mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-27 11:14:59 +00:00
- Add server/Dockerfile.dev for fast local builds (JRE-only, ~70MB) - Modify staging target to build JAR locally before Docker image - Update .dockerignore to allow target/ directory for Dockerfile.dev - Build time reduced from 17+ minutes to ~4 seconds - Reuses local Maven cache (~/.m2/repository) instead of downloading in Docker
8 lines
176 B
Text
8 lines
176 B
Text
# Exclude target for multi-stage build (Dockerfile)
|
|
# But allow it for runtime build (Dockerfile.runtime) which needs pre-built JAR
|
|
# **/target/
|
|
|
|
**/.idea/
|
|
**/*.iml
|
|
.git/
|
|
*.md
|