This commit is contained in:
Strix 2023-10-14 22:38:05 +02:00
parent 176059905a
commit 00ee86af39
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

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