From 67b2a612b5c5182ac343b7d521b710d8e5f60444 Mon Sep 17 00:00:00 2001 From: Data Salaryman Date: Thu, 11 Jan 2024 21:38:07 +0800 Subject: [PATCH] feat(docs/getting-started): add docker installation section --- docs/getting-started/installation.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 0e0f5e025..1fa1e83e9 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -341,3 +341,14 @@ prebuilt binaries: ```bash solana-install init ``` + +## Install via Docker + +If you want to deploy a new project on a docker container, the easiest way to start is to clone the Solana dApp Scaffold Next Github [repo](https://github.com/solana-labs/dapp-scaffold) and after installing `docker`, you should be able to run the following: + +``` +docker build -t dapp-scaffold . +docker run -d -it --name dapp-scaffold-run -p 3003:3000 dapp-scaffold +``` + +And you should see your app run on `http://localhost:3003`.