Skip to content

Commit

Permalink
Merge pull request #20 from gliptak/docker1
Browse files Browse the repository at this point in the history
Add initial Dockerfile
  • Loading branch information
ranrib authored Jul 21, 2020
2 parents bc4e2c4 + f976540 commit 62964e1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:3.8-slim

COPY requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install -r requirements.txt
COPY . /app

ENTRYPOINT ["python", "list_lambdas.py"]
CMD ["--help"]
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ Setup
pip install -r requirements.txt
python list_lambdas.py
Docker
-----
.. code-block:: bash
git clone https://github.com/epsagon/list-lambdas
cd list-lambdas/
docker build -t list_lambdas:latest .
docker run --rm -v $HOME/.aws:/root/.aws -t list_lambdas:latest --profile myprofile
Example Outputs
---------------
Expand Down

0 comments on commit 62964e1

Please sign in to comment.