TherepyBot / Dockerfile
tmkartikey's picture
Upload Dockerfile
b62859a verified
Raw History Blame Contribute Delete
469 Bytes
FROM python:3.9.19-slim-bullseye
WORKDIR /app
COPY . /app
RUN chmod -R 777 /app
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
ENV USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
RUN --mount=type=secret,id=GROQ,mode=0444,required=true
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true
EXPOSE 8501
CMD ["streamlit","run","main.py"]