Skip to content

Commit 0d71c01

Browse files
committed
rails/webpacker#2518 for the integrity check change. otherwise, this commit fixes a fresh clone
1 parent bc9630d commit 0d71c01

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ RUN apt-get update && apt-get install --yes \
2020

2121
RUN gem install rails --version 6.0.3.4
2222

23+
RUN mkdir /cadre
2324
WORKDIR /cadre
24-
25-
26-
#RUN rails new blog
27-
#WORKDIR /blog
25+
COPY Gemfile /cadre/Gemfile
26+
COPY Gemfile.lock /cadre/Gemfile.lock
27+
RUN bundle install
28+
COPY . /cadre
2829

2930
#RUN curl https://www.sqlite.org/2020/sqlite-tools-linux-x86-3330000.zip --output sqlite-tools-linux-x86-3330000.zip
3031
#RUN unzip sqlite-tools-linux-x86-3330000.zip

config/webpacker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ development:
5353
compile: true
5454

5555
# Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
56-
check_yarn_integrity: true
56+
check_yarn_integrity: false
5757

5858
# Reference: https://webpack.js.org/configuration/dev-server/
5959
dev_server:

docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ services:
77
- "3000"
88
ports:
99
- "8001:3000"
10-
volumes:
11-
- .:/cadre:cached
10+
# volumes:
11+
# - .:/cadre:cached

0 commit comments

Comments
 (0)