Changed proposed naming scheme for the docker image name

This commit is contained in:
Niggl1999 2020-06-02 15:51:05 +02:00
parent 3c5927a6be
commit da53c9d25f
1 changed files with 4 additions and 4 deletions

View File

@ -20,9 +20,9 @@ Other useful commands:
### Build the Container yourself (and run it)
1. Clone the git repo
2. Open the cloned repo's folder in a shell of your choice (as long as it supports Docker)
3. Tell Docker to build the app under the name "taskboard" with `docker build -t taskboard .`
4. Tell Docker to run the app on port 8080 with `docker run -p 8080:80 taskboard`
3. Tell Docker to build the app under the name "taskboard" with `docker build -t taskboard_backend .`
4. Tell Docker to run the app on port 8080 with `docker run -p 8080:80 taskboard_backend`
Other useful commands:
* Run detached: `docker run -d -p 8080:80 taskboard`
* Run under specified name: `docker run -p 8080:80 --name myapp taskboard`
* Run detached: `docker run -d -p 8080:80 taskboard_backend`
* Run under specified name: `docker run -p 8080:80 --name backend taskboard_backend`