Commit ee2c1de
Dockerfile: Install Yarn for dev as well (#12)
docker-compose: Don't bind /opt/app
This will prevent 'hot reload' from working inside Docker (the image
will need to be rebuilt for every change), but it does ensure webpack
works correctly. Otherwise, the binstub is overridden by our own bin/
(and can't be put back because node_modules/ isn't available either).
changing where yarn is built
changes for yarn path
Fixing yarn issue in development
deals with gpg expired key
running yarn build from /usr/local/yarn
copying over yarn files for prod from dev
added destination directory for copy of yarn dir from dev to prod
moving back to /opt/app in prod to precompile assets
removed custom gpg key from Dockerfile
putting gpg key set back in to Dockerfile
gpg key was renewed so using the original access method
removed old call to fetch yarn
update env for yarn path, using --cwd for yarn install instead of switching WORKDIR
Co-authored-by: A. Wilcox <AWilcox@Wilcox-Tech.com>1 parent 1473857 commit ee2c1de
2 files changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | | - | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| |||
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| 134 | + | |
| 135 | + | |
130 | 136 | | |
131 | 137 | | |
132 | 138 | | |
| |||
149 | 155 | | |
150 | 156 | | |
151 | 157 | | |
| 158 | + | |
152 | 159 | | |
153 | 160 | | |
154 | 161 | | |
| |||
159 | 166 | | |
160 | 167 | | |
161 | 168 | | |
162 | | - | |
| 169 | + | |
163 | 170 | | |
164 | 171 | | |
165 | 172 | | |
166 | 173 | | |
167 | 174 | | |
168 | 175 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments