File tree 4 files changed +43
-2
lines changed
4 files changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ jobs:
103
103
104
104
publish-docker :
105
105
name : Publish Docker image
106
- needs : release
106
+ needs : publish-npm
107
107
runs-on : ubuntu-latest
108
108
if : startsWith(github.ref, 'refs/tags/')
109
109
Original file line number Diff line number Diff line change
1
+ # compiled output
2
+ # /dist
3
+ /node_modules
4
+
5
+ # Logs
6
+ logs
7
+ * .log
8
+ npm-debug.log *
9
+ yarn-debug.log *
10
+ yarn-error.log *
11
+ lerna-debug.log *
12
+
13
+ # OS
14
+ .DS_Store
15
+
16
+ # Tests
17
+ /coverage
18
+ /.nyc_output
19
+
20
+ # IDEs and editors
21
+ /.idea
22
+ .project
23
+ .classpath
24
+ .c9 /
25
+ * .launch
26
+ .settings /
27
+ * .sublime-workspace
28
+
29
+ # IDE - VSCode
30
+ .vscode /*
31
+ ! .vscode /tasks.json
32
+ ! .vscode /launch.json
33
+ ! .vscode /extensions.json
34
+
35
+ yarn-error.log
36
+ yarn.lock
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ COPY . /usr/src/app
18
18
RUN rm -f /usr/src/app/.npmrc
19
19
RUN npm run build
20
20
21
+ # Set node url
22
+ ARG NODE_URL=https://node.semcom.digita.ai
23
+ RUN /bin/sh -c 'echo "{ \" semcom-node\" : \" ${NODE_URL}}\" }" > /usr/src/app/dist/assets/config.json'
24
+
21
25
# Expose ports.
22
26
EXPOSE 4200
23
27
CMD npm start
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ import { fetch as inruptFetch } from '@inrupt/solid-client-authn-browser';
9
9
export class SemComService {
10
10
11
11
private registry : AbstractRegisterComponentService = new RegisterComponentService ( ) ;
12
- private repo : QueryComponentService = new QueryComponentRemoteService ( 'http://localhost:3000' ) ;
12
+ //private repo: QueryComponentService = new QueryComponentRemoteService('http://localhost:3000');
13
+ private repo : QueryComponentService = new QueryComponentRemoteService ( 'https://node.semcom.digita.ai' ) ;
13
14
14
15
detectShapes ( uri : string ) : Observable < string [ ] > {
15
16
return from ( resourceShape ( uri , inruptFetch ) ) ;
You can’t perform that action at this time.
0 commit comments