-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed redundant requirement, updated security docs, added dockerfile
- Loading branch information
1 parent
f2b9679
commit ecdc63a
Showing
4 changed files
with
22 additions
and
8 deletions.
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,15 @@ | ||
FROM python:3.10-alpine | ||
|
||
ARG AW_VERSION="0.0.5" | ||
|
||
# BUILD CMD: docker build -t ansible-webui:0.0.4-dev --build-arg "AW_VERSION=0.0.4" . | ||
|
||
# /ansible-webui can be used to mount an existing playbook-directory/-repo | ||
RUN pip install --no-cache-dir --upgrade pip 2>/dev/null && \ | ||
pip install --no-cache-dir ansible-webui==${AW_VERSION} && \ | ||
mkdir -p /ansible-webui | ||
|
||
WORKDIR /ansible-webui | ||
EXPOSE 8000 | ||
|
||
CMD ["python3", "-m", "ansible-webui"] |
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
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
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