1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-29 15:48:03 +02:00

add yarn check-file in Dockerfile and bundle check

Signed-off-by: Lukas Pol <lukaspaespol@gmail.com>
This commit is contained in:
Lukas Pol 2020-04-24 17:11:35 -03:00
parent a0f93700e2
commit 567f8b82ee
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,8 @@ COPY Gemfile.lock /myapp/Gemfile.lock
##
RUN gem install bundler:2.0.2
RUN bundle install
RUN bundle check || bundle install
RUN yarn install --check-files
COPY . /myapp
## Add Endpoint