Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend Docker Container Does Not Start When First Cloning the Repo #148

Closed
galbwe opened this issue Oct 6, 2021 · 3 comments · Fixed by #153
Closed

Frontend Docker Container Does Not Start When First Cloning the Repo #148

galbwe opened this issue Oct 6, 2021 · 3 comments · Fixed by #153
Assignees
Labels
bug Something isn't working Hacktoberfest Hacktoberfest 2021

Comments

@galbwe
Copy link
Collaborator

galbwe commented Oct 6, 2021

When cloning the repo and running docker compose up --build for the first time, the frontend container does not start. These logs lead me to believe that parcel-bundler needs to be installed as part of building the frontend docker image.

frontend_1  | yarn run v1.22.5
frontend_1  | $ parcel ./src/index.html --open --hmr-port=1235
frontend_1  | /bin/sh: parcel: not found
frontend_1  | error Command failed with exit code 127.
@galbwe galbwe added bug Something isn't working Hacktoberfest Hacktoberfest 2021 labels Oct 6, 2021
@galbwe galbwe changed the title Frontend Docker Container Does Not Start After First Cloning the Repo Frontend Docker Container Does Not Start When First Cloning the Repo Oct 6, 2021
@galbwe galbwe self-assigned this Oct 6, 2021
@galbwe galbwe removed their assignment Oct 6, 2021
@w1shmast0ur
Copy link
Collaborator

Hi! Is there intention to run frontend in dev or you'd prefer to run the production build? I have solution for both and can help with this issue. Let me know which approach do you prefer and let me help you with that.

@galbwe
Copy link
Collaborator Author

galbwe commented Oct 6, 2021

Hi @w1shmast0ur we would like to run the frontend in dev. I believe the production dockerfile is being worked on in #99

@irving-caamal
Copy link

@galbwe thank you so much this helps me a lot! I almost finish the Dockerfile on production mode :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Hacktoberfest Hacktoberfest 2021
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants