Skip to content

Commit ba8eb9a

Browse files
committed
fix: Docker build — model files are gitignored, create empty dir instead
1 parent b39ff81 commit ba8eb9a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ COPY --from=builder /usr/local/bin /usr/local/bin
2727
# Copy application code
2828
COPY app/ app/
2929
COPY frontend/ frontend/
30-
COPY model/ model/
30+
31+
# Model directory — model files are gitignored (too large).
32+
# Mount via docker volume or download at runtime.
33+
# The directory is created so the app can give a clear error if model is missing.
34+
RUN mkdir -p model
3135

3236
EXPOSE 8000
3337

0 commit comments

Comments
 (0)