SARATHCHANDRA D.M.P.M
Refactor Dockerfile and app.py for Flask integration
f587ca1
Raw
History Blame Contribute Delete
297 Bytes
FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV HOST=0.0.0.0
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8501
CMD ["python", "app.py"]