Skip to content

Commit 1608c7c

Browse files
committed
Update docker file
1 parent ead7e70 commit 1608c7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ FROM python:3.8.5-slim-buster
22

33
WORKDIR /app
44

5+
56
COPY . /app
67

8+
# Install build tools required for lightgbm and other packages
9+
RUN apt-get update && apt-get install -y --no-install-recommends gcc g++ make && rm -rf /var/lib/apt/lists/*
10+
711
RUN pip install -r requirements.txt
812

913
CMD ["python3", "app.py"]

0 commit comments

Comments
 (0)