Closed enric1994 closed 6 years ago
@enric1994 try running the following:
docker-compose run web bash
yarn install
exit
docker-compose up web
Let me know if that works for you.
@CharlieIGG it works, ty! But I don't understand why.
The dev.Dockerfile also includes the command RUN yarn install
How can this "issue" be corrected? I want to start my container using docker-compose up -d
and avoid jumping inside the container to install yarn every time.
Having the exact same issue over here - fresh docker install and clone of the repo. The suggested workaround works. Any idea how to get it working without having to access the container every time?
@kurenn think you could take a look at this issue?
I can take a look at it, and see if I can persist the yarn dependencies on image build
I manage to solve on #21 please let us know if that works for you as well
Thanks @kurenn !
Closing
Hey!
I followed up the Docker Development guide:
git clone https://github.com/IcaliaLabs/alpha.git
cd alpha
docker-compose up web
Thanks!