feat: initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# System dependencies
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libpq-dev \
|
||||
gcc \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Docker SDK (for dynamic flamenco-worker scaling via /var/run/docker.sock)
|
||||
RUN pip install --no-cache-dir "docker>=6.1.0"
|
||||
|
||||
# Install Python dependencies
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir -e .
|
||||
|
||||
# Copy app code
|
||||
COPY . .
|
||||
|
||||
# Create upload dirs
|
||||
RUN mkdir -p uploads/step_files uploads/excel_files uploads/thumbnails
|
||||
|
||||
COPY start.sh /start.sh
|
||||
RUN chmod +x /start.sh
|
||||
|
||||
EXPOSE 8000
|
||||
Reference in New Issue
Block a user