mirror of
https://github.com/iv-org/invidious.io.git
synced 2024-12-28 00:59:31 -05:00
10 lines
291 B
Docker
10 lines
291 B
Docker
|
FROM docker.io/library/node:16 as build
|
||
|
COPY . .
|
||
|
RUN npm install
|
||
|
RUN npm run build
|
||
|
|
||
|
FROM docker.io/library/nginx:alpine
|
||
|
COPY --from=build /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
|