Skip to content

Commit

Permalink
an experiment to see if 404 issues can be resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jul 29, 2020
1 parent d2ac2b2 commit 7be51bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions packages/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ RUN yarn install --quiet

COPY . .

#CMD yarn run dev
CMD yarn build && yarn run start
ENV NEXT_PUBLIC_ENV production

RUN yarn build

CMD yarn run start
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dev": "NEXT_PUBLIC_ENV=development next",
"staging": "NEXT_PUBLIC_ENV=staging next",
"build": "next build",
"start": "NEXT_PUBLIC_ENV=production next"
"start": "NEXT_PUBLIC_ENV=production next start"
},
"keywords": [],
"author": "Tore Sinding Bekkedal",
Expand Down

0 comments on commit 7be51bb

Please sign in to comment.