Update Dockerfile

This commit is contained in:
Liam 2022-10-29 13:38:58 +01:00
parent 946e495de5
commit c6ad53c228
2 changed files with 2 additions and 2 deletions

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