FROM python:3.10-slim | |
WORKDIR /app | |
# Install build dependencies (if any are needed by pip packages) | |
# Remove build dependencies afterward if minimizing size is critical | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
# Copy application code | |
COPY . . | |
EXPOSE 50010 | |
CMD ["python3", "app.py"] |