How to build Docker images in GitLab CI
In this article, I'll show you how to build Docker images in GitLab & push them to the container registry provided by the platform.
The Docker file
Simple file, where I set non-root user for the node image. Dockerfile:
FROM node:16.5.0
USER node
In ...
how-to.dev2 min read