Update Dockerfile
This commit is contained in:
parent
946e495de5
commit
c6ad53c228
@ -64,5 +64,5 @@ EXPOSE 3000
|
|||||||
|
|
||||||
ENV PORT 3000
|
ENV PORT 3000
|
||||||
|
|
||||||
# ENTRYPOINT yarn react-env --env APP_ENV
|
ENTRYPOINT yarn react-env
|
||||||
CMD ["node", "server.js"]
|
CMD ["node", "server.js"]
|
@ -4,7 +4,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "react-env -- next",
|
"dev": "react-env -- next",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "APP_ENV=production next start -p 3001",
|
"start": "react-env -- APP_ENV=production next start -p 3001",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Reference in New Issue
Block a user