vera-engine / Dockerfile
Rachit-Mangawa
feat: platinum deployment suite v1.0
fdeeb34
Raw History Blame
328 Bytes
# Build stage
FROM python:3.10-slim as builder
WORKDIR /app
COPY requirements.txt .
RUN pip install --user --no-cache-dir -r requirements.txt
# Run stage
FROM python:3.10-slim
WORKDIR /app
COPY --from=builder /root/.local /root/.local
COPY . .
ENV PATH=/root/.local/bin:$PATH
ENV PORT=8086
EXPOSE 8086
CMD ["python", "app.py"]