Mercurial > code > home > repos > video
annotate Dockerfile @ 43:a7b644dc1b4b
ridiculous fix for vite not proxying urls with . in them
author | drewp@bigasterisk.com |
---|---|
date | Fri, 06 Dec 2024 00:58:46 -0800 |
parents | 27a754f8e8f8 |
children | 1bd17c2e5517 |
rev | line source |
---|---|
27 | 1 FROM reg:5000/base_basic |
2
78c1a2983010
rewrite UI and file serving parts; use vite
drewp@bigasterisk.com
parents:
0
diff
changeset
|
2 |
0 | 3 WORKDIR /opt |
4 | |
6
ccfea3625cf6
render thumbs and display them (no video player at all atm)
drewp@bigasterisk.com
parents:
3
diff
changeset
|
5 RUN apt update && apt-get install -y git ffmpegthumbnailer |
2
78c1a2983010
rewrite UI and file serving parts; use vite
drewp@bigasterisk.com
parents:
0
diff
changeset
|
6 |
78c1a2983010
rewrite UI and file serving parts; use vite
drewp@bigasterisk.com
parents:
0
diff
changeset
|
7 COPY pyproject.toml pdm.lock ./ |
78c1a2983010
rewrite UI and file serving parts; use vite
drewp@bigasterisk.com
parents:
0
diff
changeset
|
8 RUN pdm sync |
0 | 9 |
2
78c1a2983010
rewrite UI and file serving parts; use vite
drewp@bigasterisk.com
parents:
0
diff
changeset
|
10 COPY package.json pnpm-lock.yaml ./ |
78c1a2983010
rewrite UI and file serving parts; use vite
drewp@bigasterisk.com
parents:
0
diff
changeset
|
11 RUN pnpm install |
0 | 12 |
9
9e94454560de
some vite cleanup and a test of the ingest/ page
drewp@bigasterisk.com
parents:
6
diff
changeset
|
13 COPY vite.config.ts serve-files.js ./ |
2
78c1a2983010
rewrite UI and file serving parts; use vite
drewp@bigasterisk.com
parents:
0
diff
changeset
|
14 COPY src/ ./src/ |
0 | 15 |
15 | 16 COPY *.py ./ |