diff --git a/dockerfile b/dockerfile index 1dc76c5..1770df0 100644 --- a/dockerfile +++ b/dockerfile @@ -6,8 +6,18 @@ RUN pip install cherrypy pillow qrcode RUN apt-get update RUN apt-get install nano -COPY . . +# clone repo +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 + +RUN git clone https://github.com/ocueye2/heretothere.git EXPOSE 8170 + +WORKDIR /app/heretothere CMD ["python", "start.py"]