mirror of
https://gitea.invidious.io/iv-org/invidious-redirect.git
synced 2024-08-15 00:53:24 +00:00
Add Dockerfile
This commit is contained in:
parent
5d03438fa1
commit
8518f01633
1 changed files with 8 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM node:14.5.0-alpine as build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine as app
|
||||
COPY --from=build /app/build/ /usr/share/nginx/html/
|
Loading…
Reference in a new issue