Shopify_AI / deployment /Dockerfile.frontend
Prerna43's picture
shopify_ai
80ef840
Raw
History Blame Contribute Delete
437 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PIP_NO_CACHE_DIR=1
ENV STREAMLIT_SERVER_HEADLESS=true
ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
COPY app ./app
EXPOSE 8501
CMD ["python", "-m", "streamlit", "run", "app/frontend.py", "--server.address", "0.0.0.0", "--server.port", "8501"]