docker image
This commit is contained in:
parent
adcb02180d
commit
1e2f124e65
3 changed files with 46 additions and 0 deletions
12
lib/Dockerfile
Normal file
12
lib/Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM python:3.10-alpine
|
||||
|
||||
RUN apk add git
|
||||
|
||||
COPY . /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# if no remote then add remote or otherwrite
|
||||
RUN git remote get-url origin || git remote add origin https://git.faulty.nl/didier/dotfiles && git remote set-url origin https://git.faulty.nl/didier/dotfiles
|
||||
|
||||
ENTRYPOINT ["python3", "/app/lib/docker.py"]
|
Loading…
Add table
Add a link
Reference in a new issue