Add Dockerfile

This commit is contained in:
2026-02-01 16:29:43 +00:00
parent 214cf06b94
commit 396abd334f

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3.10-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY app/ ./app/
# Non-root user
RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
USER appuser
EXPOSE 8088
CMD ["python", "-m", "app.main"]