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

Pubblicato il: 30 settembre 2021
sul canale di: DevOps Hint
4,163
25

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
CMD [ "node", "server.js" ]




Please find below gitlab-ci.yml for Node JS Application

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
https://www.fosstechnix.com/gitlab-ci...


In questa pagina del sito puoi guardare il video online #13:Build Docker image for Node JS Application using GitLab CI | GitLab Node JS CI/CD Pipeline della durata di ore minuti seconda in buona qualità , che l'utente ha caricato DevOps Hint 30 settembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,163 volte e gli è piaciuto 25 spettatori. Buona visione!