File size: 445 Bytes
63d0aa5
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.10.9-slim

WORKDIR /app

COPY recommendation-api .
COPY data/music_info.csv data/music_info.csv
COPY data/user_listening_history_10k.csv data/user_listening_history_10k.csv

# 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"]