浏览代码

added commands

Shahed Nasser 3 年之前
父节点
当前提交
fbe8445c7c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .do/deploy.template.yaml

+ 2 - 0
.do/deploy.template.yaml

@@ -3,6 +3,8 @@ spec:
   services:
   - name: medusa-server
     environment_slug: node-js
+    build_command: npm run build
+    run_command: npm start
     git:
       repo_clone_url: https://github.com/medusajs/medusa-starter-default.git
       branch: feat-deploy-digitalocean