Обновить .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 - docker-build
- deploy - deploy
build: # build:
tags: # tags:
- docker # - docker
image: node:19-alpine # image: node:19-alpine
stage: build # stage: build
artifacts: # artifacts:
paths: # paths:
- node_modules # - node_modules
- dist # - dist
script: # script:
- yarn install # - yarn install
- yarn build # - yarn build
docker-build: docker-build:
tags: tags:

View File

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