Created
October 29, 2018 20:36
-
-
Save mandrews/d78daae5e284ea9396df79d79959da11 to your computer and use it in GitHub Desktop.
Running AWS SAM in a Docker Container: Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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