From 1ba27fb5410d1cbcc7b0f4b3c4e65664e66d2d22 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 6 Apr 2020 12:19:48 +0200 Subject: [PATCH] dockerfile: add some instructions on how to run --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index e20a74723a..5d536de268 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ FROM nginx:mainline +# This dockerfile requires the app to be built on the host first, as it +# simply copies in the build output into the image. + +# The safest way to build this image is to use `yarn docker-build` + COPY packages/app/build /usr/share/nginx/html COPY docker/default.conf.template /etc/nginx/conf.d/default.conf.template COPY docker/run.sh /usr/local/bin/run.sh