mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-04-01 04:22:39 +00:00
Updated Building everything manually (markdown)
parent
47ae98356c
commit
4408b5e400
@ -2,7 +2,7 @@ In case you would like to avoid running anything locally and/or pulling images f
|
||||
|
||||
### Connection among the images
|
||||
First of all, let's take a look at the `FROM` statements in each `Dockerfile`:
|
||||
```
|
||||
```dockerfile
|
||||
Frontend:
|
||||
FROM avatao/debian:buster
|
||||
|
||||
@ -18,7 +18,7 @@ As you can see, we use multistage building in the base image, so we should move
|
||||
|
||||
### Building the images
|
||||
Make sure you have every [dependency](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/Setting-up-a-development-environment) installed, then clone the [baseimage](https://github.com/avatao-content/baseimage-tutorial-framework), [frontend](https://github.com/avatao-content/frontend-tutorial-framework) and [test](https://github.com/avatao-content/test-tutorial-framework) repositories next to each other. Finally, enter these commands to build all of them:
|
||||
```
|
||||
```bash
|
||||
cd frontend-tutorial-framework
|
||||
docker build -t frontend-tutorial-framework:tag .
|
||||
cd ../baseimage-tutorial-framework
|
||||
@ -28,6 +28,6 @@ docker build -t test-tutorial-framework -f solvable/Dockerfile .
|
||||
```
|
||||
|
||||
After all of these, you can start the container any time with this command:
|
||||
```
|
||||
```bash
|
||||
docker run --rm -p 8888:8888 -e AVATAO_SECRET=secret test-tutorial-framework
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user