e995bf4 ba11222 b38b153 0ea1363 ba11222 e995bf4 a2422c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.11 WORKDIR /api COPY --chown=user ./ /api/ RUN pip install --upgrade pip RUN pip install -r requirements.txt RUN mkdir /api/models RUN chmod a+rwx /api/models EXPOSE 7860 CMD ["bash", "start.sh"]