Spaces:
Runtime error
Runtime error
File size: 486 Bytes
3c82e9b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM python:3.9 as builder
RUN apt-get update && apt-get install -y build-essential
COPY requirements.txt .
COPY requirements_advanced.txt .
RUN pip install --user -r requirements.txt
# RUN pip install --user -r requirements_advanced.txt
FROM python:3.9
MAINTAINER iskoldt
COPY --from=builder /root/.local /root/.local
ENV PATH=/root/.local/bin:$PATH
COPY . /app
WORKDIR /app
ENV dockerrun yes
CMD ["python3", "-u", "ChuanhuChatbot.py", "2>&1", "|", "tee", "/var/log/application.log"]
|