Skip to content

Commit

Permalink
Updated jsconfig.json.prod and dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocseh committed Apr 8, 2022
1 parent dfa5018 commit 5eb0d21
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 970 deletions.
12 changes: 10 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,16 @@ RUN runDeps="openssl ca-certificates patch gosu git tmux locales-all" \
&& npm install -g mrs-developer \
&& cp jsconfig.json.prod jsconfig.json \
&& mkdir -p /opt/frontend/src/addons \
&& rm -rf /opt/frontend/src/addons/* \
&& find /opt/frontend -not -user node -exec chown node {} \+
&& rm -rf /opt/frontend/src/addons/*

# https://github.com/eea/semanticsearch-frontend/blob/master/Dockerfile
WORKDIR /opt/frontend/src/addons
RUN git clone https://github.com/eea/searchlib.git
WORKDIR /opt/frontend/src/addons/searchlib
RUN git checkout standalone-split
# end semanticsearch

RUN find /opt/frontend -not -user node -exec chown node {} \+

USER node
RUN cd /opt/frontend \
Expand Down
21 changes: 15 additions & 6 deletions jsconfig.json.prod
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"compilerOptions": {
"paths": {
},
"baseUrl": "src"
}
}
"compilerOptions": {
"paths": {
"searchlib": ["addons/searchlib"],
"@eeacms/search": ["addons/searchlib/packages/searchlib/src"],
"@eeacms/search-less": ["addons/searchlib/packages/searchlib-less"],
"@eeacms/globalsearch": [
"addons/searchlib/packages/searchlib-globalsearch/src"
],
"@eeacms/datahub": [
"addons/searchlib/packages/searchlib-datahub/src"
]
},
"baseUrl": "src"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@eeacms/volto-embed": "4.0.0",
"@eeacms/volto-marine-theme": "0.1.10",
"@eeacms/volto-measurescatalog": "github:eea/volto-measurescatalog#0.1.0.alpha.2",
"@eeacms/volto-searchlib": "github:eea/volto-searchlib#v0.1.7.aplha",
"@eeacms/volto-searchlib": "github:eea/volto-searchlib#0.1.7.alpha.2",
"@eeacms/volto-tableau": "1.2.4",
"@plone/volto": "plone/volto#slots_quanta_split_form_undo_prefix_path",
"react-compound-slider": "3.3.1",
Expand Down
Loading

0 comments on commit 5eb0d21

Please sign in to comment.