Skip to content

Commit

Permalink
fix: docker build broken update node version
Browse files Browse the repository at this point in the history
  • Loading branch information
dosco committed Feb 21, 2021
1 parent a93809f commit 9f66497
Show file tree
Hide file tree
Showing 19 changed files with 176 additions and 98 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stage: 1
FROM node:10 as react-build
FROM node:latest as react-build
WORKDIR /web
COPY /internal/serv/web/ ./
RUN yarn
Expand Down
98 changes: 49 additions & 49 deletions internal/serv/rice-box.go

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions internal/serv/web/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"files": {
"main.css": "/static/css/main.45320ab8.chunk.css",
"main.js": "/static/js/main.0d09a938.chunk.js",
"main.js.map": "/static/js/main.0d09a938.chunk.js.map",
"main.js": "/static/js/main.5d470ad1.chunk.js",
"main.js.map": "/static/js/main.5d470ad1.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.bfca2edd.js",
"runtime-main.js.map": "/static/js/runtime-main.bfca2edd.js.map",
"static/css/2.bf3fdedd.chunk.css": "/static/css/2.bf3fdedd.chunk.css",
"static/js/2.d3b1e703.chunk.js": "/static/js/2.d3b1e703.chunk.js",
"static/js/2.d3b1e703.chunk.js.map": "/static/js/2.d3b1e703.chunk.js.map",
"static/js/2.151e204e.chunk.js": "/static/js/2.151e204e.chunk.js",
"static/js/2.151e204e.chunk.js.map": "/static/js/2.151e204e.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.4d3ec297e7d942c49a1c6097d69c2156.js": "/precache-manifest.4d3ec297e7d942c49a1c6097d69c2156.js",
"precache-manifest.3d435ae17934b99be74e4619468caeef.js": "/precache-manifest.3d435ae17934b99be74e4619468caeef.js",
"service-worker.js": "/service-worker.js",
"static/css/2.bf3fdedd.chunk.css.map": "/static/css/2.bf3fdedd.chunk.css.map",
"static/css/main.45320ab8.chunk.css.map": "/static/css/main.45320ab8.chunk.css.map",
"static/js/2.d3b1e703.chunk.js.LICENSE.txt": "/static/js/2.d3b1e703.chunk.js.LICENSE.txt"
"static/js/2.151e204e.chunk.js.LICENSE.txt": "/static/js/2.151e204e.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.bfca2edd.js",
"static/css/2.bf3fdedd.chunk.css",
"static/js/2.d3b1e703.chunk.js",
"static/js/2.151e204e.chunk.js",
"static/css/main.45320ab8.chunk.css",
"static/js/main.0d09a938.chunk.js"
"static/js/main.5d470ad1.chunk.js"
]
}
2 changes: 1 addition & 1 deletion internal/serv/web/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Source+Code+Pro:400,700" rel="stylesheet"/><title>GraphJin - GraphQL API for Rails</title><link href="/static/css/2.bf3fdedd.chunk.css" rel="stylesheet"><link href="/static/css/main.45320ab8.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this.webpackJsonpweb=this.webpackJsonpweb||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var p=i;t()}([])</script><script src="/static/js/2.d3b1e703.chunk.js"></script><script src="/static/js/main.0d09a938.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Source+Code+Pro:400,700" rel="stylesheet"/><title>GraphJin - GraphQL API for Rails</title><link href="/static/css/2.bf3fdedd.chunk.css" rel="stylesheet"><link href="/static/css/main.45320ab8.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this.webpackJsonpweb=this.webpackJsonpweb||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var p=i;t()}([])</script><script src="/static/js/2.151e204e.chunk.js"></script><script src="/static/js/main.5d470ad1.chunk.js"></script></body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "44bcbfaee009d9515813b118cd20d7e5",
"url": "/index.html"
},
{
"revision": "0199327a6e402d223c68",
"url": "/static/css/2.bf3fdedd.chunk.css"
},
{
"revision": "ecb8e4c5d8f52303fa23",
"url": "/static/css/main.45320ab8.chunk.css"
},
{
"revision": "0199327a6e402d223c68",
"url": "/static/js/2.151e204e.chunk.js"
},
{
"revision": "e1935a3987883b20f1289fab525de412",
"url": "/static/js/2.151e204e.chunk.js.LICENSE.txt"
},
{
"revision": "ecb8e4c5d8f52303fa23",
"url": "/static/js/main.5d470ad1.chunk.js"
},
{
"revision": "6981919806c089cef906",
"url": "/static/js/runtime-main.bfca2edd.js"
}
]);

This file was deleted.

2 changes: 1 addition & 1 deletion internal/serv/web/build/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.4d3ec297e7d942c49a1c6097d69c2156.js"
"/precache-manifest.3d435ae17934b99be74e4619468caeef.js"
);

self.addEventListener('message', (event) => {
Expand Down
3 changes: 3 additions & 0 deletions internal/serv/web/build/static/js/2.151e204e.chunk.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ object-assign
@license MIT
*/

/*!
* github-buttons v2.14.2
* (c) 2021 なつき
* @license BSD-2-Clause
*/

/*! https://mths.be/punycode v1.4.1 by @mathias */

/** @license React v0.19.1
Expand Down
1 change: 1 addition & 0 deletions internal/serv/web/build/static/js/2.151e204e.chunk.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions internal/serv/web/build/static/js/2.d3b1e703.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion internal/serv/web/build/static/js/2.d3b1e703.chunk.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions internal/serv/web/build/static/js/main.0d09a938.chunk.js

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions internal/serv/web/build/static/js/main.5d470ad1.chunk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9f66497

Please sign in to comment.