Spaces:
Sleeping

finaltvs / Dockerfile
rbachina's picture
Upload 5 files
44e9ec7 verified
Raw History Blame Contribute Delete
458 Bytes
FROM mcr.microsoft.com/playwright/python:v1.47.0-jammy
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt \
&& playwright install chromium
COPY streamlit_app.py .
COPY README.md .
COPY huggingface.yml .
ENV PORT=7860
EXPOSE 7860
CMD ["bash", "-lc", "streamlit run streamlit_app.py --server.address 0.0.0.0 --server.port 7860 --server.headless true --server.enableCORS false --server.enableXsrfProtection false"]