WEB - Create Dockerfile
-
Dockerfile is stored in /scripts
folder -
Dockerfile installs all Python dependencies and copies website files into a work directory -
Dockerfile runs the web server's Python main file as the command -
Gitlab CI/CD's script automatically builds the image -
Gitlab CI/CD's script automatically publishes tagged image on Gitlab's container registry
Edited by Pedro Silva