From 9fb90d9c489205871a92099580a0d683afaef49a Mon Sep 17 00:00:00 2001 From: Neal Chambers Date: Sat, 9 Nov 2024 22:18:06 +0900 Subject: [PATCH] Add Windows Docker Commands to README --- docker/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 28e1b64262a..a010efaf6c2 100644 --- a/docker/README.md +++ b/docker/README.md @@ -88,10 +88,14 @@ $ git clone git@github.com:openfoodfoundation/openfoodnetwork.git ```command $ cd openfoodnetwork ``` -* Download the Docker images, build the Docker containers, seed the database with sample data, AND log the screen output from these tasks: +* You have two choices of images you can build. The default Ubuntu image is most similar to the production servers but is larger in size and will take longer to build. Alternatively, you can use the Alpine image which is smaller, faster to setup, and should be compatible with the Ubuntu. To download the Ubuntu Docker images, build the Docker containers, seed the database with sample data, AND log the screen output from these tasks: ```command $ docker/build.ps1 ``` +* To use the alpine image to start with append the name of the Dockerfile: +```sh +$ docker/build.ps1 alpine.Dockerfile +``` * Run the Rails server and its required Docker containers: ```command $ docker/server.ps1