mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-15 06:05:45 +03:00
fix: make sure container get's stopped once job is done
This commit is contained in:
parent
83379a0d72
commit
882340fa5c
3 changed files with 7 additions and 13 deletions
|
@ -1,11 +1,7 @@
|
|||
# Source Image
|
||||
FROM docker.io/library/python:alpine3.17
|
||||
|
||||
# Install ansible setup project
|
||||
# Install ansible and dependencies
|
||||
WORKDIR /ansible
|
||||
COPY ./ansible .
|
||||
RUN pip3 install -r ./requirements.txt
|
||||
RUN chmod +x ./startup.sh
|
||||
|
||||
# Container start command
|
||||
CMD ["/ansible/startup.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue