Skip to content

Commit

Permalink
updates for docker-run
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi-prakash1907 authored Nov 7, 2023
1 parent 09a77fe commit d016579
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,28 @@ In order to run on the local server, the online resources could be offered. Foll

### Using Docker

You need to run following commands in sequence to access the website in Docker:
#### 1. Run the _`latest`_ Image

**Step-1:**

Create a new directory in your current working directory (let `test`)

**Step-2:**

Open the command prompt/terminal in working directory and run the following command:
```sh
docker run -p 9999:80 -v .\test\:/var/www/html/uploads/ raviprakash1907/cybertech:latest
```

**Step-3:**

Access the website at [http://localhost:9999](http://localhost:9999)

**NOTE:** _You can mount any directory by providing the relative path in place of `test` in **step-2**._

#### 2. Clone this Repo and Build your own Image

You need to run the following commands in sequence to access the website in Docker:

**Step-1:**

Expand Down Expand Up @@ -110,4 +131,4 @@ This project is open to welcome constructive contributions through open-source.

## License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/The-Trustworthy/CyberTech/blob/main/LICENSE) file for details.
This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/The-Trustworthy/CyberTech/blob/main/LICENSE) file for details.

0 comments on commit d016579

Please sign in to comment.