Обновить .gitlab-ci.yml, Dockerfile

This commit is contained in:
The Foxon 2023-04-24 08:55:45 +00:00
parent 2726fd0fac
commit 63ebeb4ea0
2 changed files with 14 additions and 12 deletions

View File

@ -3,18 +3,18 @@ stages:
- docker-build
- deploy
build:
tags:
- docker
image: node:19-alpine
stage: build
artifacts:
paths:
- node_modules
- dist
script:
- yarn install
- yarn build
# build:
# tags:
# - docker
# image: node:19-alpine
# stage: build
# artifacts:
# paths:
# - node_modules
# - dist
# script:
# - yarn install
# - yarn build
docker-build:
tags:

View File

@ -3,5 +3,7 @@ FROM node:19-alpine
WORKDIR /app
COPY . .
- yarn install
- yarn build
CMD yarn start