GithubHelp home page GithubHelp logo

qijunbo / docker-ecshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xf1688/docker-ecshop

0.0 0.0 0.0 24.65 MB

docker run ecshop

Shell 0.01% PHP 71.25% CSS 3.15% JavaScript 10.13% HTML 15.28% ColdFusion 0.14% Perl 0.05%

docker-ecshop's Introduction

docker-ecshop

docker run ecshop

only modify your code file path

dockerfile in nginx-php folder

How to use this image

First:

In the root directory of the Dockerfile folder run the command such as : docker build -t wilf/phpfpm-nginx . This command will build a image. -t define the name of the image,you can write your name,Don't forget .

Single Site (Recommended)

When build done,run this command start container:

 docker run --name nginx-phpfpm -d -p 127.0.0.1:10001:80  -v /Users/wilf/Documents/php/code:/var/www/html wilf/phpfpm-nginx

nginx-phpfpm is the container name ,wilf/phpfpm-nginx as noted above,/Users/wilf/Documents/php/code is your local code, when run done visit 127.0.0.1:10001 you can see your project have run well

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.