jrno's picture
Fix Dockerfile
718b4e9
raw
history blame contribute delete
439 Bytes
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"]