Sign inSign up

zremchs21/upstore

By zremchs21

•Updated over 8 years ago

Project U

Image
0

1.3K

zremchs21/upstore repository overview

⁠Successfully Build Php 5.2 & Apache 2.2 Protocol 1.1

⁠Build Size 3.04GB

Follow the commands below to build the docker image successfully for Php5.2 & Apache 2.2. The Dockerfile is based on Official CentOS pulling from the remote repository (FROM centos:6) as selected before it starts packaging the required softwares and libraries for php and apache.

⁠Clone Repository

Run the command below to pull the docker file from Projects repository.
Command:

git clone [email protected]:mark.c/Projects.git
⁠Navigate to Projects directory

Run the command below to change directory to Protocol2/AmazonLinux/Uprinting/store folder.
Command:

cd Projects/Protocol2/AmazonLinux/Uprinting/store
⁠Docker Build and Run (Express) -Not Available-

Run the command below to build and run the image.
NOTE: The script will ask for the image name, containter name, and the host port bind the to container port. Wait until the "Instruction" message appear.
Command:

sh run.sh
⁠Docker Build and Run (Manual)

You can Build and Run the image manually by typing the command below
Build Command:

docker build -t store .

Run Command:

docker run -dit -p 80:80 -e NR_INSTALLKEY="license_key" -e DOMAIN_NAME="www.uprinting.com" -e DOMAIN_STORE="store.uprinting.com" -e DOMAIN_PAYMENT="payment.uprinting.com" -e DOMAIN_DESIGN="design.uprinting.com" --name store store
⁠To access the container's port using web browser(Chrome/Firefox) follow the instruction below

Will publish the container’s port(s) to the host port(s) that you entered a while ago
You should be able to access the container using http://{YOUR_IP} and it should display the content below.
Display:

File not Found!

Tag summary

Content type

Image

Digest

Size

764.7 MB

Last updated

over 8 years ago

docker pull zremchs21/upstore:v1