Skip to content

Commit 60f825a

Browse files
authored
Merge pull request #615 from MetaCell/feature/553
Feature/553
2 parents f10e3d3 + bac5c0f commit 60f825a

3 files changed

Lines changed: 13 additions & 8 deletions

File tree

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ COPY webapp/ .
1212
RUN yarn build-dev
1313

1414

15-
RUN mv node_modules/@metacell .
1615
RUN rm -Rf node_modules/*
17-
RUN mv @metacell node_modules
1816

1917
###
2018
FROM jupyter/base-notebook:hub-1.5.0

webapp/geppetto.ejs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,15 @@
1818
<% } %>
1919

2020
<!-- CSS -->
21-
<link rel="stylesheet" href="<%= cssPaths%>geppetto/node_modules/@metacell/geppetto-meta-client/style/css/font-awesome.min.css"/>
22-
<link rel="stylesheet" href="<%= cssPaths%>geppetto/node_modules/@metacell/geppetto-meta-client/style/css/codemirror.css"/>
23-
<link rel="stylesheet" href="<%= cssPaths%>geppetto/node_modules/@metacell/geppetto-meta-client/style/css/lesser-dark.css"/>
24-
<link rel="stylesheet" href="<%= cssPaths%>geppetto/node_modules/@metacell/geppetto-meta-client/style/css/gpt-icons.css"/>
25-
21+
<link rel="stylesheet" href="geppetto/build/static/css/font-awesome.min.css"/>
22+
<link rel="stylesheet" href="geppetto/build/static/css/gpt-icons.css"/>
23+
2624
<% if(htmlWebpackPlugin.options.GEPPETTO_CONFIGURATION.properties.icon.indexOf("http") !== -1){ %>
2725
<link rel="icon" type="image/png" href="<%=htmlWebpackPlugin.options.GEPPETTO_CONFIGURATION.properties.icon%>"/>
2826
<% } else{ %>
2927
<link rel="icon" type="image/png" href="<%= cssPaths%><%=htmlWebpackPlugin.options.GEPPETTO_CONFIGURATION.properties.icon%>"/>
3028
<% } %>
31-
29+
3230
</head>
3331
<body style="margin: 0px">
3432

webapp/webpack.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ if (isWin) {
3434
}
3535

3636
const availableExtensions = [
37+
{
38+
from: path.resolve(__dirname, geppettoClientPath, 'style/css/font-awesome.min.css'),
39+
to: 'static/css',
40+
},
41+
{
42+
from: path.resolve(__dirname, geppettoClientPath, 'style/css/gpt-icons.css'),
43+
to: 'static/css',
44+
},
3745
{
3846
from: path.resolve(__dirname, geppettoClientPath, 'static/*'),
3947
to: 'static',
@@ -58,6 +66,7 @@ const availableExtensions = [
5866
from: path.resolve(__dirname, 'static'),
5967
to: 'static',
6068
},
69+
6170
];
6271

6372
module.exports = function (env) {

0 commit comments

Comments
 (0)