e7b7706
496a66a
e7b7706
a06056d
5e7de02
e7b7706
ff5f8ca |
|
FROM python:3.11
WORKDIR /api
COPY --chown=user ./ /api/
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN mkdir /api/cache
RUN chmod a+rwx /api/cache
EXPOSE 7860
CMD ["python", "main.py"] |