質問編集履歴
1
Yarn install 方法の記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,6 +9,72 @@
|
|
9
9
|
の項目のみTestFAILED(Exit code: 127)となります。
|
10
10
|
|
11
11
|
対処方法が知りたく、記載させて頂きます。
|
12
|
+
|
13
|
+
以下Yarnインストール方法
|
14
|
+
|
15
|
+
Dockerfile(docker-compose build済み)
|
16
|
+
|
17
|
+
```
|
18
|
+
|
19
|
+
FROM ruby:2.7.1
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
RUN apt-get update -qq && \
|
24
|
+
|
25
|
+
apt-get install -y apt-utils \
|
26
|
+
|
27
|
+
build-essential \
|
28
|
+
|
29
|
+
libpq-dev \
|
30
|
+
|
31
|
+
nodejs \
|
32
|
+
|
33
|
+
vim \
|
34
|
+
|
35
|
+
default-mysql-client
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
RUN apt-get update && apt-get install -y curl apt-transport-https wget && \
|
44
|
+
|
45
|
+
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
46
|
+
|
47
|
+
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
48
|
+
|
49
|
+
apt-get update && apt-get install -y yarn
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
WORKDIR /solocamper
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
ADD Gemfile .
|
60
|
+
|
61
|
+
ADD Gemfile.lock .
|
62
|
+
|
63
|
+
RUN yarn install
|
64
|
+
|
65
|
+
RUN bundle install -j4
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
ADD . /solocamper
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
EXPOSE 3000
|
76
|
+
|
77
|
+
```
|
12
78
|
|
13
79
|
### 発生している問題・エラーメッセージ
|
14
80
|
|