Spaces:
Sleeping
Sleeping
File size: 380 Bytes
f4baf70 4129134 f4baf70 5947cc6 7b8c4f9 5947cc6 6af7506 7b8c4f9 4129134 5947cc6 9e2372b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
FROM python:3.8-slim
RUN apt-get update && apt-get install -y \
git && rm -rf /var/lib/apt/lists/*
COPY app.py /app/app.py
COPY model.pt /app/model.pt
COPY requirements.txt /app/requirements.txt
COPY start_server.sh /app/start_server.sh
WORKDIR /app
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN chmod +x start_server.sh
CMD ["./start_server.sh"] |