From c6ad53c228d6fbf409e7123bd7734a2d23aa5802 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Sat, 29 Oct 2022 13:38:58 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcfb9b7..e8c8822 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,5 +64,5 @@ EXPOSE 3000 ENV PORT 3000 -# ENTRYPOINT yarn react-env --env APP_ENV +ENTRYPOINT yarn react-env CMD ["node", "server.js"] \ No newline at end of file diff --git a/package.json b/package.json index 1211c8f..38dd718 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "dev": "react-env -- next", "build": "next build", - "start": "APP_ENV=production next start -p 3001", + "start": "react-env -- APP_ENV=production next start -p 3001", "lint": "next lint" }, "dependencies": {