mirror of
https://github.com/iv-org/invidious.io.git
synced 2025-06-07 06:12:49 -04:00
Update the Dockerfile to use the static version
This commit is contained in:
parent
01c3510863
commit
55a5e34d7f
1 changed files with 1 additions and 8 deletions
|
@ -1,9 +1,2 @@
|
||||||
FROM docker.io/library/node:16 as build
|
|
||||||
COPY . .
|
|
||||||
RUN npm install
|
|
||||||
RUN npm run build
|
|
||||||
|
|
||||||
FROM docker.io/library/nginx:alpine
|
FROM docker.io/library/nginx:alpine
|
||||||
COPY --from=build /public/ /usr/share/nginx/html/
|
COPY /public/ /usr/share/nginx/html/
|
||||||
# TheFrenchGhosty: The videos/ folder has been removed, no idea why it's created
|
|
||||||
RUN rm -rf /usr/share/nginx/html/videos
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue