From 9a186e2d5da33384c6f81d847834d34c0ca8d559 Mon Sep 17 00:00:00 2001 From: Thomas Sundvoll Date: Fri, 21 Oct 2022 10:09:51 +0200 Subject: [PATCH] Add docker instructions in frontend --- frontend/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/README.md b/frontend/README.md index 383df0ce7..1cbb54c4c 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -35,6 +35,12 @@ This command runs the app in the development mode. Open [http://localhost:3001]( The page will reload if you make edits. You will also be able to see any lint errors in the console. +## Run in Docker +To run the frontend in docker, run the following command in the root folder of flotilla: +``` +docker-compose up --build frontend +``` + ## Authentication Authentication is implemented for the frontend following the [official Microsoft tutorial on Oauth2 flow in React](https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-react).