@@ -7,16 +7,17 @@ Your application will be available at http://localhost:3000.
7
7
8
8
### Deploying your application to the cloud
9
9
10
- First, build your image, e.g.: ` docker build -t myapp . ` .
11
- If your cloud uses a different CPU architecture than your development
12
- machine (e.g., you are on a Mac M1 and your cloud provider is amd64),
13
- you'll want to build the image for that platform, e.g.:
14
- ` docker build --platform=linux/amd64 -t myapp . ` .
10
+ First, build your image, e.g.: ` docker build -t myapp . ` . If your cloud uses a
11
+ different CPU architecture than your development machine (e.g., you are on a Mac
12
+ M1 and your cloud provider is amd64), you'll want to build the image for that
13
+ platform, e.g.: ` docker build --platform=linux/amd64 -t myapp . ` .
15
14
16
15
Then, push it to your registry, e.g. ` docker push myregistry.com/myapp ` .
17
16
18
- Consult Docker's [ getting started] ( https://docs.docker.com/go/get-started-sharing/ )
19
- docs for more detail on building and pushing.
17
+ Consult Docker's
18
+ [ getting started] ( https://docs.docker.com/go/get-started-sharing/ ) docs for more
19
+ detail on building and pushing.
20
20
21
21
### References
22
- * [ Docker's Node.js guide] ( https://docs.docker.com/language/nodejs/ )
22
+
23
+ - [ Docker's Node.js guide] ( https://docs.docker.com/language/nodejs/ )
0 commit comments