Explorar o código

Fix nix docker build

Arkadiusz Ryś %!s(int64=2) %!d(string=hai) anos
pai
achega
6fa80296e3
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      flake.nix

+ 3 - 1
flake.nix

@@ -164,14 +164,16 @@
                 #!${pkgs.runtimeShell}
                 mkdir /tmp
                 cp -r ${dtdesignRepo}/examples/oml/SystemDesignOntology2Layers /projectdir
+                mkdir -p /projectdir/.fuseki/run
               '';
               config = {
                 Env = [ "PROJECTDIR=/projectdir" ]; # tell the script where the projectdir is at.
-                Cmd = [ "${serviceMonitor}" ]; # ran when container starts
+                Cmd = [ "${serviceMonitor}/bin/serviceMonitor" ]; # ran when container starts
                 ExposedPorts = {
                   "5000/tcp" = {}; # python backend
                   "3030/tcp" = {}; # fuseki
                   "8700/tcp" = {}; # lightttp (serving drawio)
+                  "8081/tcp" = {}; # WEE
                 };
                 Volumes = {
                   "/projectdir" = {}; # path to persist as Docker 'Volume'