-
Notifications
You must be signed in to change notification settings - Fork 810
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #494 from 0xdabbad00/dockerize
Docker support
- Loading branch information
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM python:3.7-slim as cloudmapper | ||
|
||
LABEL maintainer="https://github.com/0xdabbad00/" | ||
LABEL Project="https://github.com/duo-labs/cloudmapper" | ||
|
||
EXPOSE 8000 | ||
WORKDIR /opt/cloudmapper | ||
ENV AWS_DEFAULT_REGION=us-east-1 | ||
|
||
RUN apt-get update -y | ||
RUN apt-get install -y build-essential autoconf automake libtool python3.7-dev python3-tk jq awscli | ||
RUN apt-get install -y bash | ||
|
||
COPY . /opt/cloudmapper | ||
RUN pip install pipenv | ||
RUN pipenv install --skip-lock | ||
#RUN pipenv shell | ||
|
||
RUN bash |
This file contains 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