mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-09-30 07:43:13 +00:00
* feat(api): serve meals on ECS Fargate instead of Lambda Keep the Flask app always-on with in-process jobs so CloudFront no longer fronts a cold-start API Gateway. * fix(jobs): run delayed close and reminder deliveries Wall-clock skip windows dropped the only weekly SQS attempt when Scheduler already fired in Eastern time. Dev schedules stay disabled. * fix(api): return JSON objects and stop logging job payloads Flask now jsonify-s handler dicts so API responses are not HTML, and the worker logs only event and status. * fix(ci): restore the reusable workflow so the required check is named ci / ci Inlining the job reported `ci` instead of the org ruleset's `ci / ci`. * fix(secrets): drop unused os import so ruff check passes * style: apply ruff format so ci-python-app lint passes * fix(infra): give meals its own VPC because prod has none * chore(security): re-key ALB SG checkov suppression after vpc.tf
17 lines
440 B
Docker
17 lines
440 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
COPY src/shared/requirements.txt /tmp/shared-requirements.txt
|
|
COPY requirements-api.txt /tmp/requirements-api.txt
|
|
RUN pip install --no-cache-dir -r /tmp/shared-requirements.txt -r /tmp/requirements-api.txt
|
|
|
|
COPY src /app/src
|
|
|
|
ARG GIT_SHA=dev
|
|
ENV PYTHONPATH=/app/src:/app/src/shared \
|
|
GIT_SHA=${GIT_SHA} \
|
|
PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app/src
|
|
EXPOSE 8080
|
|
CMD ["python", "-m", "server.entrypoint"]
|