Workers Auto Approve
[Dockerfile] Module not found error after containers are up
### User Story
[comment]: # (As a , I want to so that .)
As a developer, I want to develop dApp in docker environment so that I can have isolate dev environment on my local machine.
### Why Is this Needed?
[comment]: # (Describe the problem and why this task is needed. Provide the description of the current state, what you would like to happen, and what actually happen)
*Summary*: An Isolated dev environment will keep the local machine clean for multiple projects. Also, docker-compose makes developers easy to start running dApp.
[comment]: # (Feature or Bug? i.e Type: Bug)
### Current Behavior
[comment]: # (Describe what actually happened.)
After running up cmd:
❯ docker-compose up -d
will successfully start containers
❯ docker-compose ps
Name Command State Ports
dapp_app_1 /bin/sh -c npm start Up 0.0.0.0:3000->3000/tcp
dapp_eth-bridge_1 node bridge -H truffle:954 ... Up
dapp_truffle_1 truffle develop Up 3000/tcp, 0.0.0.0:9545->9545/tcp
But when going to
There are 'Module not found' errors in the browser:
Module not found: Can't resolve '../build/contracts/InitialAllocationCollateralToken' in '/app/src'
Seems some files need to be copied into `/build` folder.
### Expected Behavior
[comment]: # (Describe what you expected to happen.)
Module links should be resolved.
[comment]: # (Describe how we can replicate the bug step by step.)
1. Run up cmd:
docker-compose up -d
2. go to
[comment]: # (Provide a summary of the solution and a task list on what needs to be fixed.)
*Summary*: Might need to update and have separate Dockerfile for dApp and truffle.
### Definition of Done
[comment]: # (Any other information that would be useful, bullets are helpful.)
- [ ] Developer should be able to run up cmd and just work
### Additional Information
[comment]: # (Any other information that would be useful, content, screenshots, etc.)
I am currently debugging this issue. Any suggestions or hints are appreciated!
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: