mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
fix yarn install in dockerfile
This commit is contained in:
parent
48e0bf21a2
commit
177e087abf
@ -1,6 +1,7 @@
|
||||
# Changelog Fab Manager
|
||||
|
||||
- Fix rake task fablab:es_build_projects_index for ElasticSearch > 1.7
|
||||
- Fix Dockerfile: yarn was not setup correctly
|
||||
|
||||
# v2.7.2 2018 November 29
|
||||
|
||||
|
@ -32,8 +32,6 @@ COPY Gemfile /tmp/
|
||||
COPY Gemfile.lock /tmp/
|
||||
RUN bundle install --binstubs
|
||||
|
||||
# Run Yarn
|
||||
RUN yarn install
|
||||
|
||||
# Clean up APT when done.
|
||||
#RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
@ -52,6 +50,11 @@ RUN mkdir -p /usr/src/app/tmp/pids
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY docker/database.yml /usr/src/app/config/database.yml
|
||||
COPY package.json /usr/src/app/package.json
|
||||
COPY yarn.lock /usr/src/app/yarn.lock
|
||||
|
||||
# Run Yarn
|
||||
RUN yarn install
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user