Mercurial > code > home > repos > reposync
diff Dockerfile @ 18:6f38aa08408d
starting over: make a web page that draws a streamed graph from collector, with plans for services to scrape the data that collector will subscribe to
author | drewp@bigasterisk.com |
---|---|
date | Sun, 09 Jan 2022 00:21:41 -0800 |
parents | a4778c56cc03 |
children | cb71722bb75c |
line wrap: on
line diff
--- a/Dockerfile Sun Dec 12 22:32:25 2021 -0800 +++ b/Dockerfile Sun Jan 09 00:21:41 2022 -0800 @@ -5,7 +5,10 @@ RUN apt-get install -y python3 libpython3-dev python3-openssl python3-cffi-backend RUN python3 -m pip install mercurial -RUN python3 -m pip install -U pip +RUN npm install -g npm@8.3.0 +RUN npm install -g pnpm +RUN pnpm set registry "https://bigasterisk.com/js/" + COPY requirements.txt ./ RUN python3 -m pip install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt RUN python3 -m pip install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' @@ -13,9 +16,13 @@ RUN python3 -m pip install 'https://foss.heptapod.net/mercurial/hg-git/-/archive/branch/default/hg-git-branch-default.zip' RUN groupadd --gid 1000 drewp && useradd --uid 501 --gid 1000 drewp +COPY package.json . +RUN pnpm install + COPY root-hgrc /root/.hgrc -COPY config.yaml hg_status.py index.html ./ COPY dot-ssh/* /root/.ssh/ +COPY config.yaml package.json pnpm-lock.yaml tsconfig.json vite.config.ts repo*.py patch_cyclone_sse.py index.html ./ +COPY view/ ./view #USER drewp -CMD ["python3", "hg_status.py", "-v"] +CMD ["python3", "repo_local_status.py", "-v"]