DashBoardAI-Backend / Dockerfile
VicGerardoPR's picture
Create Dockerfile
e08f0e7 verified
raw
history blame contribute delete
330 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y build-essential libmagic1 && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /tmp/dashboard_ai && chmod 777 /tmp/dashboard_ai
ENV PORT=7860
EXPOSE 7860
CMD ["python", "main.py"]