Skip to content
Snippets Groups Projects
Commit 5083a7ba authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

AMJ yarn command

parent c02a971e
No related branches found
No related tags found
3 merge requests!5Module Tapes : Try fixing bug 'Mixed Content The page at was loaded over...,!3Openshift deployment,!2Openshift deployment
...@@ -34,7 +34,7 @@ job_test: ...@@ -34,7 +34,7 @@ job_test:
- php composer.phar install - php composer.phar install
## Install yarn and assets ## Install yarn and assets
- curl -L https://npmjs.org/install.sh | sudo sh
- npm cache clean -f - npm cache clean -f
- npm install -g n - npm install -g n
- n stable - n stable
......
...@@ -38,8 +38,8 @@ RUN npm install -g n ...@@ -38,8 +38,8 @@ RUN npm install -g n
RUN n stable RUN n stable
RUN curl -o- -L https://yarnpkg.com/install.sh | bash RUN curl -o- -L https://yarnpkg.com/install.sh | bash
RUN export PATH="$HOME/.yarn/bin:$PATH" RUN export PATH="$HOME/.yarn/bin:$PATH"
RUN yarn install RUN /usr/bin/yarn install
RUN yarn encore dev RUN /usr/bin/yarn encore dev
EXPOSE 8000/tcp EXPOSE 8000/tcp
CMD symfony server:start CMD symfony server:start
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment