Files
startup-product/pricing-service/Dockerfile.production
T
nageshwaran_manikumar 36cec81744
startup-product-gitea-ci/pipeline/pr-main There was a failure building this commit
startup-product-gitea-ci/pipeline/head There was a failure building this commit
feat: complete secure pricing delivery and rollback documentation
2026-11-13 21:07:53 -05:00

21 lines
363 B
Docker

FROM python:3.13-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
COPY requirements-production.txt .
RUN pip install --no-cache-dir -r requirements-production.txt
RUN useradd --create-home appuser
COPY --chown=appuser:appuser app.py .
USER appuser
EXPOSE 5000
CMD ["gunicorn", "--workers", "2", "--bind", "0.0.0.0:5000", "app:app"]