Skip to content

DockerizedMarketingSite is a project that demonstrates the process of containerizing a dynamic marketing website template using Docker. The website template, provided by www.tooplate.com, is transformed into a Docker container, making it easy to deploy, manage, and distribute.

Notifications You must be signed in to change notification settings

e-nvy/DockerizedMarketingSite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Marketing Project - Docker Image

This Docker image sets up an Apache web server hosting a project named "Marketing" based on a template from www.tooplate.com.

Dockerfile Explanation

The Dockerfile consists of two stages:

1. BUILD_IMAGE Stage

2. Final Stage

  • Uses the ubuntu:latest base image again for the final image.
  • Installs Apache2, Git, and wget.
  • Copies the tween.tgz file from the BUILD_IMAGE to /var/www/html/.
  • Extracts the contents of tween.tgz in /var/www/html/.
  • Starts the Apache2 web server, serving the Marketing project.

How to Build the Docker Image

To build the Docker image, follow these steps:

  1. Save the provided Dockerfile to a directory on your local machine.

  2. Open a terminal or command prompt and navigate to the directory containing the Dockerfile.

  3. Run the following command to build the image:

    docker build -t marketing_project .
    

About

DockerizedMarketingSite is a project that demonstrates the process of containerizing a dynamic marketing website template using Docker. The website template, provided by www.tooplate.com, is transformed into a Docker container, making it easy to deploy, manage, and distribute.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published