12 lines
319 B
Text
12 lines
319 B
Text
|
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"]
|