Spaces:
Running
Running
FROM python:3.9.5-buster | |
RUN apt-get update | |
COPY ./reqs.txt /TruesAutoBLr/reqs.txt | |
RUN pip3 install --no-cache-dir -U -r /TruesAutoBLr/reqs.txt | |
WORKDIR /TruesAutoBLr | |
RUN pip3 install -U pip | |
COPY . . | |
RUN chown -R 1000:0 . | |
RUN chmod 777 . | |
RUN chown -R 1000:0 /usr | |
RUN chmod 777 /usr | |
EXPOSE 7860 | |
CMD ["bash", "-c", "python3 server.py & python3 code2.py"] |