AICEO / Dockerfile
mgbam's picture
Update Dockerfile
1631882 verified
Raw History Blame
405 Bytes
FROM python:3.10-slim
WORKDIR /code
# Install Redis
RUN apt-get update && apt-get install -y redis && rm -rf /var/lib/apt/lists/*
# Copy & install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY . .
# Ensure the startup script is executable
RUN chmod +x start.sh
# Launch everything via start.sh
ENTRYPOINT ["./start.sh"]