Mercurial > code > home > repos > reposync
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 |
rev | line source |
---|---|
17 | 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 | 5 RUN apt-get install -y python3 libpython3-dev python3-openssl python3-cffi-backend |
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 | 12 RUN apt-get install --yes pipenv |
13 | |
14 COPY Pipfile Pipfile.lock ./ | |
15 RUN pipenv install | |
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 | 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 | 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"] |