FROM python@sha256:ffb752e139c0a19692a43af8d8523b274222dd68eebad5d583b45c2201c6e30a
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY gate.py migrate.py 001_add_published_at.sql RELEASE ./
USER 65532:65532
CMD ["python", "/app/migrate.py", "--help"]
