Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rex Dri
Rex Dri
Commits
e692470f
Unverified
Commit
e692470f
authored
May 14, 2020
by
Florent Chehab
Browse files
fix(docker - front): also restore .bin folder
parent
d088a3ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
e692470f
...
...
@@ -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/
...
...
server/docker-compose.prod.yml
View file @
e692470f
...
...
@@ -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/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment