sdlc-agent / deployment /Dockerfile.web
Veeru-c's picture
initial commit
89b6166
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements
COPY deployment/requirements-web.txt .
RUN pip install --no-cache-dir -r requirements-web.txt
# Copy application code
COPY src/web/ /app/src/web/
# Set environment variables
ENV PYTHONPATH=/app
ENV FLASK_APP=src/web/web_app.py
# Expose port
EXPOSE 5000
# Default command
CMD ["python3", "src/web/web_app.py"]