Added gitlab-ci.

Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
2021-12-07 11:25:40 +04:00
parent 1a506035ea
commit d9e945ee92
22 changed files with 582 additions and 49 deletions

11
deploy/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM node:lts-alpine3.14 as builder
COPY . /app
WORKDIR /app
RUN yarn install
RUN yarn generate
FROM nginx:1.20.2-alpine
COPY --from=builder /app/dist/ /usr/share/nginx/html/