19 lines
321 B
Markdown
19 lines
321 B
Markdown
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
|
|
```
|
|
docker tag ttp-nginx:latest thetempusproject/ttp-nginx:latest
|
|
```
|
|
|
|
|
|
|
|
Run the image
|
|
```
|
|
docker run -d -p 8000:80 thetempusproject/ttp-nginx
|
|
``` |