Spaces:
Runtime error
Runtime error
File size: 464 Bytes
1345305 3c7f662 1345305 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FROM python:3.9
WORKDIR /app
COPY requirements.txt /app/
RUN pip3 install -r requirements.txt
RUN chmod 777 /app
COPY . /app
# RUN ["python3" ,"-m" ,"nltk.downloader" ,"all" ,"-d", "/nltk_data"]
#CMD ["flask" , "run" , "--host=0.0.0.0", "--port=7860" ]
# CMD ["/bin/sh","/usr/bin/python3" ,"-m" ,"http.server" ,"-b", "0.0.0.0" ,"7860","&","/usr/bin/python3", "main.py" ,">>", "log.txt"]
# & python3 -m http.server -b 0.0.0.0 7860
CMD ["python3", "main.py" ] |