File size: 439 Bytes
63d0aa5
 
 
 
 
22854cc
 
 
63d0aa5
 
 
 
 
83174c3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.10.9-slim

WORKDIR /app

COPY recommendation-api .
COPY data/music_info.csv data/music_info.csv
COPY data/model.csv data/model.csv
COPY data/model.pkl data/model.pkl

# Install dependencies from the requirements.txt file located within the recommendation-api directory
RUN pip install -r requirements.txt

# Command to run the server, assuming server.py is inside the recommendation-api directory
CMD ["python", "server.py"]