This commit is contained in:
Didier Slof 2022-12-18 23:30:18 +01:00
parent 1e2f124e65
commit e9afc5e4f1
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -1,12 +1,7 @@
FROM python:3.10-alpine
RUN apk add git
COPY . /app
RUN git clone https://git.faulty.nl/didier/dotfiles /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"]