fix: mpv completed; add ci
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM harbor.merlin.xin/mirrors/docker.io/library/node:20-bullseye AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
|
||||
FROM harbor.merlin.xin/mirrors/docker.io/library/nginx:alpine
|
||||
|
||||
COPY --from=build /app/dist /app/dist
|
||||
Reference in New Issue
Block a user