Skip to content

Commit

Permalink
Fix instructions and dependencies (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliano Costa authored Oct 13, 2022
1 parent e41ee24 commit d3216e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ services:
- currencyservice
- otelcol
- productcatalogservice
- quoteservice
- recommendationservice
- shippingservice
logging: *logging
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ USER nextjs
ENV PORT 8080
EXPOSE ${PORT}

ENTRYPOINT ["npm", "start"]
ENTRYPOINT npm start
3 changes: 1 addition & 2 deletions src/frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ frontend client by going to <http://localhost:8080/>.
Currently, the easiest way to run the frontend for local development is to execute

```shell
docker compose run --service-ports -e NODE_ENV=development
--volume $(pwd)/src/frontend:/app --volume $(pwd)/pb:/app/pb frontend sh
docker compose run --service-ports -e NODE_ENV=development --volume $(pwd)/src/frontend:/app --volume $(pwd)/pb:/app/pb --user node --entrypoint sh frontend
```

from the root folder.
Expand Down

0 comments on commit d3216e1

Please sign in to comment.