song-recommender / Dockerfile
jrno's picture
refactor api to recommendation-api
5f1a862
raw
history blame
445 Bytes
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"]