feat: update info.
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2022-07-18 20:50:38 +08:00
parent 358d884bd4
commit 696fe48d53
12 changed files with 16210 additions and 125 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:16-alpine as base
WORKDIR /app
COPY package-lock.json package.json ./
RUN npm ci --no-audit
COPY . .
FROM node:16-alpine as release
WORKDIR /app
COPY --from=base /app ./
RUN npm run build &&\
npm prune --omit dev
EXPOSE 80
CMD npm run serve -- --port 80