Readme Updates

This commit is contained in:
Joey Kimsey
2024-08-14 17:56:50 -04:00
parent b6767ae846
commit c8eed20814
2 changed files with 15 additions and 15 deletions

View File

@ -1,19 +1,19 @@
Build the image
# TheTempusProject Nginx Docker Image
This image will build an nginx webserver off php and use composer to clone the project to create a webserver TTP App.
## Build the image
```
docker build -t thetempusproject/ttp-nginx:latest .
docker build --no-cache -t thetempusproject/ttp-nginx:latest .
```
Set the proper tag for dockerhub
## Set the proper tag for dockerhub (in cases where you need to build your own image)
```
docker tag ttp-nginx:latest thetempusproject/ttp-nginx:latest
docker tag thetempusproject/ttp-nginx:latest <username>/ttp-nginx:latest
```
Run the image
## Run the image
```
docker run -d -p 8000:80 thetempusproject/ttp-nginx
```