superkartfrontendv3 / Dockerfile
Ansh91's picture
๐Ÿš€ Deploy updated Streamlit frontend
175fbf4
raw
history blame contribute delete
359 Bytes
FROM python:3.9-slim
WORKDIR /app
ENV HOME=/app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
RUN mkdir -p /app/.streamlit \
&& chmod -R a+rwx /app/.streamlit \
&& printf "[server]\nheadless = true\nport = 7860\n\n" > /app/.streamlit/config.toml
EXPOSE 7860
CMD ["streamlit","run","app.py","--server.port=7860","--server.address=0.0.0.0"]