MyMoola / Dockerfile
siricy's picture
removing cache
58d25f0 verified
raw
history blame contribute delete
373 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY app.py requirements.txt ./
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Remove this line entirely:
# RUN python -c "from transformers import AutoTokenizer, AutoModelForCausalLM; ..."
EXPOSE 7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"]