Setting the file. One moment.
Skill 122 · Processing S3 Uploads With Step Functions
Subchapter 122.3
scripts/Dockerfile
DOCKERFILE11 lines341 B
FROM python:3.12-slim@sha256:e5c9fa26ffb76e11e0f054f30dc2523a2f9693f0c36c0cf1e39b27e152d899fc
COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir --require-hashes -r /tmp/requirements.txt
RUN useradd --create-home appuser
USER appuser
WORKDIR /app
COPY fargate_processor.py .
CMD ["python", "fargate_processor.py"]