Skip to content

Instantly share code, notes, and snippets.

@mandrews
Created October 29, 2018 20:36
Show Gist options
  • Select an option

  • Save mandrews/d78daae5e284ea9396df79d79959da11 to your computer and use it in GitHub Desktop.

Select an option

Save mandrews/d78daae5e284ea9396df79d79959da11 to your computer and use it in GitHub Desktop.
Running AWS SAM in a Docker Container: Dockerfile
FROM python:alpine
RUN apk update && \
apk upgrade && \
apk add bash && \
apk add --no-cache --virtual build-deps build-base gcc && \
pip install aws-sam-cli && \
apk del build-deps
RUN mkdir /app
WORKDIR /app
EXPOSE 3001
ENTRYPOINT ["./bin/sam_entrypoint.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment