From b554eda7c7122a2d9ee0d9749e533fb65d697cbb 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 39aae7cf9e..450b0bd0d8 100644 --- a/docker/README.md +++ b/docker/README.md @@ -85,10 +85,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