Skip to content

Commit 6a36b58

Browse files
author
Leo Arias
committed
Add the daemon
1 parent 7169ea3 commit 6a36b58

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

snapcraft.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ description: |
1414
grade: devel
1515
confinement: strict
1616

17+
apps:
18+
swagger-ui:
19+
command: sh -c \"cd $SNAP/lib/node_modules/swagger-ui/dist && http-server -a localhost -p 8080\"
20+
daemon: simple
21+
plugs: [network, network-bind]
22+
1723
parts:
1824
swagger-ui:
1925
source: .
2026
plugin: nodejs
2127
npm-run: [build]
22-
node-packages: [handlebars]
28+
node-packages: [handlebars, http-server]

0 commit comments

Comments
 (0)