chatbot-hf / Dockerfile
5258-vikram's picture
Update Dockerfile
d7acf54
FROM ubuntu:latest
RUN apt update
RUN apt-get update && \
apt-get install -y curl python3-pip python3-dev && \
rm -rf /var/lib/apt/lists/*
COPY process_one.sh /app/process_one.sh
COPY process_two.sh /app/process_two.sh
COPY main.sh /app/main.sh
COPY home.py /frontend/home.py
COPY streaming.py /frontend/streaming.py
COPY utils.py /frontend/utils.py
COPY requirements.txt /frontend/requirements.txt
WORKDIR /app
EXPOSE 8501
RUN chmod +x /app/process_one.sh
RUN chmod +x /app/process_two.sh
RUN chmod +x /app/main.sh
CMD ["/app/main.sh"]