Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Dockerfile for running the AWS SAM translator locally
FROM python:3.7.9
RUN git clone
COPY sample-template.yaml /serverless-application-model/sample-template.yaml
WORKDIR serverless-application-model
RUN pip install boto3
RUN pip install -e '.[dev]'
RUN python ./bin/ --template-file=sample-template.yaml
RUN cat transformed-template.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment