Spaces:
Runtime error
Runtime error
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 | |
COPY data/model_next_25k.csv data/model_next_25k.csv | |
COPY data/model_next_25k.pkl data/model_next_25k.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"] | |