agetech / Dockerfile
vsouza
update file name in dockerfile
1dab928
Raw
History Blame Contribute Delete
299 Bytes
FROM python:3.11-slim
WORKDIR /app
ENV PYTHONUNBUFFERED=1
ENV VIRTUAL_ENV=/app/venv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN python -m venv ${VIRTUAL_ENV}
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8501
CMD ["streamlit", "run", "--server.port", "8501", "app.py"]