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": {