From a694e9edf4e434326ab09be4ee9c5a76ff1bfe72 Mon Sep 17 00:00:00 2001 From: ocueye2 <157711490+ocueye2@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:30:32 -0500 Subject: [PATCH 1/4] Update dockerfile --- dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 1dc76c5..93ef0df 100644 --- a/dockerfile +++ b/dockerfile @@ -6,8 +6,14 @@ RUN pip install cherrypy pillow qrcode RUN apt-get update RUN apt-get install nano -COPY . . +# clone repo +RUN apt-get install git +RUN git clone https://github.com/ocueye2/my-website.git +RUN pip install cherrypy + EXPOSE 8170 + +WORKDIR /app/heretothere CMD ["python", "start.py"] From b10192ea8b3ff60bee68b761c60f52e2c642c509 Mon Sep 17 00:00:00 2001 From: ocueye2 <157711490+ocueye2@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:30:53 -0500 Subject: [PATCH 2/4] Update dockerfile --- dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 93ef0df..f1bc2ff 100644 --- a/dockerfile +++ b/dockerfile @@ -8,7 +8,7 @@ RUN apt-get install nano # clone repo RUN apt-get install git -RUN git clone https://github.com/ocueye2/my-website.git +RUN git clone https://github.com/ocueye2/heretothere.git RUN pip install cherrypy From 8cdb5cf143d97096ab656a59b5df607ee4d2685e Mon Sep 17 00:00:00 2001 From: ocueye2 <157711490+ocueye2@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:34:07 -0500 Subject: [PATCH 3/4] Update dockerfile --- dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index f1bc2ff..62784ec 100644 --- a/dockerfile +++ b/dockerfile @@ -7,8 +7,11 @@ RUN apt-get update RUN apt-get install nano # clone repo -RUN apt-get install git -RUN git clone https://github.com/ocueye2/heretothere.git +RUN apt-get update && \ + apt-get install -y --no-install-recommends git && \ + git clone https://github.com/ocueye2/my-website.git && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* RUN pip install cherrypy From 40ca8718592ca679fbd914f9d446f6ca74cee10c Mon Sep 17 00:00:00 2001 From: ocueye2 <157711490+ocueye2@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:36:12 -0500 Subject: [PATCH 4/4] Update dockerfile --- dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dockerfile b/dockerfile index 62784ec..1770df0 100644 --- a/dockerfile +++ b/dockerfile @@ -14,6 +14,7 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* RUN pip install cherrypy +RUN git clone https://github.com/ocueye2/heretothere.git EXPOSE 8170