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 Apache Docker Image
This image will build an apache webserver off php and use composer to clone the project to create a webserver TTP App.
## Build the image
``` ```
docker build -t thetempusproject/ttp-apache:latest . docker build -t thetempusproject/ttp-apache:latest .
docker build --no-cache -t thetempusproject/ttp-apache:latest . docker build --no-cache -t thetempusproject/ttp-apache:latest .
``` ```
## Set the proper tag for dockerhub (in cases where you need to build your own image)
Set the proper tag for dockerhub
``` ```
docker tag ttp-apache:latest thetempusproject/ttp-apache:latest docker tag ttp-apache:latest thetempusproject/ttp-apache:latest
``` ```
## Run the image
Run the image
``` ```
docker run -d -p 80:80 thetempusproject/ttp-apache docker run -d -p 80:80 thetempusproject/ttp-apache
``` ```

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 -t thetempusproject/ttp-nginx:latest .
docker build --no-cache -t thetempusproject/ttp-nginx:latest . docker build --no-cache -t thetempusproject/ttp-nginx:latest .
``` ```
## Set the proper tag for dockerhub (in cases where you need to build your own image)
Set the proper tag for dockerhub
``` ```
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 docker run -d -p 8000:80 thetempusproject/ttp-nginx
``` ```