From 1ed1f3a2b66b9f4519145fa1a6d9fb19967c0a94 Mon Sep 17 00:00:00 2001 From: Kurt Hutten Date: Sun, 27 Jun 2021 07:38:19 +1000 Subject: [PATCH] Add more details to the docker readme --- app/api/src/docker/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/src/docker/README.md b/app/api/src/docker/README.md index 0e2c04b..eba894f 100644 --- a/app/api/src/docker/README.md +++ b/app/api/src/docker/README.md @@ -14,6 +14,8 @@ You'll need to have Docker installed Because of the way the docker containers to be deployed as lambdas on aws are somewhat specialised for the purpose we're using `docker-compose` to spin one up for each function/endpoint. So we've added a aws-emulation layer +The docker build relies on a git ignored file, the aws-lambda-rie. [Download it](https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/download/v1.0/aws-lambda-rie), then put it into `app/api/src/docker/common/`. alternatively you can put this download into the DockerFiles by reading the instructions at around line 29 of the DockerFiles (`app/api/src/docker/openscad/Dockerfile` & `app/api/src/docker/cadquery/Dockerfile`). However this will mean slower build times as it will need download this 14mb file every build. + Then cd into this folder `cd api/src/docker` and: ```bash