File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
docs/pages/build/zero-to-one Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -93,28 +93,28 @@ bun start
93
93
:::code-group
94
94
95
95
``` bash [Linux]
96
- docker build -t app_name:latest .
96
+ docker build -t < app_name> :latest .
97
97
```
98
98
``` bash [Mac w/ Apple Silicon]
99
99
docker buildx build \
100
100
--platform linux/amd64,linux/arm64 \
101
- -t app_name:latest .
101
+ -t < app_name> :latest .
102
102
```
103
103
:::
104
104
105
105
- Run the Docker container using the following command:
106
106
107
107
:::code-group
108
108
``` bash [File-based DB]
109
- docker run \
109
+ docker run --env-file .env \
110
110
-v ./db.sqlite:/app/db.sqlite \
111
111
-p < HOST_PORT> :< CONTAINER_PORT> \
112
- --name=app_name -it app_name:latest
112
+ --name=< app_name> -it < app_name> :latest
113
113
```
114
114
``` bash [URI-based DB]
115
- docker run \
115
+ docker run --env-file .env \
116
116
-p < HOST_PORT> :< CONTAINER_PORT> \
117
- --name=app_name -it app_name:latest
117
+ --name=< app_name> -it < app_name> :latest
118
118
```
119
119
:::
120
120
You can’t perform that action at this time.
0 commit comments