Commit e692470f authored by Florent Chehab's avatar Florent Chehab

fix(docker - front): also restore .bin folder

parent d088a3ea
......@@ -72,7 +72,7 @@ services:
# To use a locally built one, comment above, uncomment bellow.
# build: ./frontend
# On startup, we retrieve the dependencies from the image and start the developpement server
command: /bin/sh -c "cd frontend && mv -f /usr/src/deps/node_modules/* ./node_modules/ && yarn dev"
command: /bin/sh -c "cd frontend && mv -f /usr/src/deps/node_modules/* /usr/src/deps/node_modules/.bin ./node_modules/ && yarn dev"
volumes:
# "Copy" the repo to the workdir.
- .:/usr/src/app/
......
......@@ -40,7 +40,7 @@ services:
frontend: # Will be killed as soon as the front is generated
image: registry.gitlab.utc.fr/rex-dri/rex-dri/frontend:v2.0.0
command: /bin/sh -c "cd frontend && mv -f /usr/src/deps/node_modules/* ./node_modules/ && yarn build"
command: /bin/sh -c "cd frontend && mv -f /usr/src/deps/node_modules/* /usr/src/deps/node_modules/.bin ./node_modules/ && yarn build"
networks: []
volumes:
- ../:/usr/src/app/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment