cm_bot_v2/Dockerfile.web
Wong Yiek Heng 0d7f152317 First Commit
2025-10-04 10:16:41 +08:00

21 lines
298 B
Docker

FROM python:3.9-slim
WORKDIR /app
RUN apt-get update
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY . .
# Set environment variables
ENV PYTHONUNBUFFERED=1
# Expose port
EXPOSE 8000
# Run the web view
CMD ["python", "cm_web_view.py"]