From 15f7734c66d3cef061973340cba1c733695f282a Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Sat, 29 Oct 2022 15:38:21 +0100 Subject: [PATCH] Fix __ENV.js not being generated at runtime --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 885d334..c234f3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,6 +60,4 @@ EXPOSE 3000 ENV PORT 3000 -ENTRYPOINT npx react-env --env APP_ENV - -CMD yarn start \ No newline at end of file +CMD npx react-env --env APP_ENV && yarn start \ No newline at end of file