annotate Dockerfile @ 24:03803832a087 default tip

add view definition for streamed-graph viewer
author drewp@bigasterisk.com
date Tue, 29 Mar 2022 21:17:56 -0700
parents b9fe6d26b3fa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
a4778c56cc03 update deps and k8s setup
drewp@bigasterisk.com
parents: 16
diff changeset
1 FROM bang5:5000/base_basic
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
2
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
4
17
a4778c56cc03 update deps and k8s setup
drewp@bigasterisk.com
parents: 16
diff changeset
5 RUN apt-get install -y python3 libpython3-dev python3-openssl python3-cffi-backend
a4778c56cc03 update deps and k8s setup
drewp@bigasterisk.com
parents: 16
diff changeset
6 RUN python3 -m pip install mercurial
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
7
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
drewp@bigasterisk.com
parents: 17
diff changeset
8 RUN npm install -g npm@8.3.0
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
drewp@bigasterisk.com
parents: 17
diff changeset
9 RUN npm install -g pnpm
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
drewp@bigasterisk.com
parents: 17
diff changeset
10 RUN pnpm set registry "https://bigasterisk.com/js/"
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
drewp@bigasterisk.com
parents: 17
diff changeset
11
21
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 18
diff changeset
12 RUN apt-get install --yes pipenv
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 18
diff changeset
13
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 18
diff changeset
14 COPY Pipfile Pipfile.lock ./
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 18
diff changeset
15 RUN pipenv install
cb71722bb75c use pipenv
drewp@bigasterisk.com
parents: 18
diff changeset
16
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
17 RUN groupadd --gid 1000 drewp && useradd --uid 501 --gid 1000 drewp
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
18
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
drewp@bigasterisk.com
parents: 17
diff changeset
19 COPY package.json .
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
drewp@bigasterisk.com
parents: 17
diff changeset
20 RUN pnpm install
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
drewp@bigasterisk.com
parents: 17
diff changeset
21
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
22 COPY root-hgrc /root/.hgrc
22
b9fe6d26b3fa minor changes, fixes, upgrades
drewp@bigasterisk.com
parents: 21
diff changeset
23 COPY dot-ssh/ /root/.ssh/
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
drewp@bigasterisk.com
parents: 17
diff changeset
24 COPY config.yaml package.json pnpm-lock.yaml tsconfig.json vite.config.ts repo*.py patch_cyclone_sse.py index.html ./
22
b9fe6d26b3fa minor changes, fixes, upgrades
drewp@bigasterisk.com
parents: 21
diff changeset
25 COPY view/ ./view/
24
03803832a087 add view definition for streamed-graph viewer
drewp@bigasterisk.com
parents: 22
diff changeset
26 COPY public/ ./public/
03803832a087 add view definition for streamed-graph viewer
drewp@bigasterisk.com
parents: 22
diff changeset
27
4
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
28 #USER drewp
f714a6a7842c start new web view for hgand github syncing
drewp@bigasterisk.com
parents:
diff changeset
29
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
drewp@bigasterisk.com
parents: 17
diff changeset
30 CMD ["python3", "repo_local_status.py", "-v"]