#13:Build Docker image for Node JS Application using GitLab CI | GitLab Node JS CI/CD Pipeline

preview_player
Показать описание
In this video we are going to cover Build Docker image for Node JS Application using GitLab CI | GitLab Node JS CI/CD Pipeline
#gitlabnodejsci/cd #gitlabcicd #gitlabtutorial
0:00 Introduction
3:00 GitLab Node JS CI/CD Pipeline

Dockerfile for Node JS Application
FROM node:14
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000

stages:
- build
- build-docker-image


build-nodejs-app:
stage: build
script:
- npm install
artifacts:
paths:
- /home/gitlab-runner/

build-docker-image:
stage: build-docker-image
script:
- docker info

Complete GitLab CI CD Pipeline Tutorial for Beginners
Рекомендации по теме
Комментарии
Автор

Thanks for sharing this series. Very informative.
A question about this video. Is your "build-docker-image" job really builds the nodejs application? All i see is docker info command is being executed.

deepancha
Автор

can you make a playlist of this entire series?

Rven
join shbcf.ru